./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/float-newlib/float_req_bl_1210_false-unreach-call.c --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_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/config/TaipanReach.xml -i ../../sv-benchmarks/c/float-newlib/float_req_bl_1210_false-unreach-call.c -s /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/config/svcomp-Reach-32bit-Taipan_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan --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 Taipan --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 36fce2ac9d239f0bf9286aa317af7b50704c65b6 ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis Calling Ultimate with: java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/config/TaipanReach.xml -i ../../sv-benchmarks/c/float-newlib/float_req_bl_1210_false-unreach-call.c -s /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/config/svcomp-Reach-32bit-Taipan_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan --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 Taipan --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 36fce2ac9d239f0bf9286aa317af7b50704c65b6 ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 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 03:25:33,838 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 03:25:33,839 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 03:25:33,846 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 03:25:33,846 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 03:25:33,847 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 03:25:33,848 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 03:25:33,849 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 03:25:33,850 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 03:25:33,851 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 03:25:33,851 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 03:25:33,852 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 03:25:33,852 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 03:25:33,853 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 03:25:33,854 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 03:25:33,854 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 03:25:33,855 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 03:25:33,856 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 03:25:33,858 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 03:25:33,859 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 03:25:33,860 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 03:25:33,861 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 03:25:33,862 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 03:25:33,863 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 03:25:33,863 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 03:25:33,864 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 03:25:33,864 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 03:25:33,865 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 03:25:33,865 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 03:25:33,866 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 03:25:33,866 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 03:25:33,867 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 03:25:33,867 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 03:25:33,867 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 03:25:33,868 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 03:25:33,868 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 03:25:33,869 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/config/svcomp-Reach-32bit-Taipan_Default.epf [2018-11-23 03:25:33,878 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 03:25:33,879 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 03:25:33,879 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 03:25:33,880 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 03:25:33,880 INFO L133 SettingsManager]: * User list type=DISABLED [2018-11-23 03:25:33,880 INFO L131 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2018-11-23 03:25:33,880 INFO L133 SettingsManager]: * Explicit value domain=true [2018-11-23 03:25:33,880 INFO L133 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2018-11-23 03:25:33,880 INFO L133 SettingsManager]: * Octagon Domain=false [2018-11-23 03:25:33,880 INFO L133 SettingsManager]: * Abstract domain=CompoundDomain [2018-11-23 03:25:33,881 INFO L133 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2018-11-23 03:25:33,881 INFO L133 SettingsManager]: * Use the RCFG-of-the-future interface=true [2018-11-23 03:25:33,881 INFO L133 SettingsManager]: * Interval Domain=false [2018-11-23 03:25:33,881 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 03:25:33,881 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 03:25:33,882 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 03:25:33,882 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 03:25:33,882 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 03:25:33,882 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 03:25:33,882 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 03:25:33,882 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 03:25:33,882 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 03:25:33,882 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 03:25:33,883 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 03:25:33,883 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 03:25:33,883 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 03:25:33,883 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 03:25:33,883 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 03:25:33,883 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 03:25:33,883 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 03:25:33,884 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 03:25:33,884 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 03:25:33,884 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 03:25:33,884 INFO L133 SettingsManager]: * Trace refinement strategy=TAIPAN [2018-11-23 03:25:33,884 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 03:25:33,884 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-11-23 03:25:33,884 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2018-11-23 03:25:33,884 INFO L133 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES 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_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan 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 -> Taipan 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 -> 36fce2ac9d239f0bf9286aa317af7b50704c65b6 [2018-11-23 03:25:33,908 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 03:25:33,916 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 03:25:33,918 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 03:25:33,919 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 03:25:33,919 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 03:25:33,920 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/../../sv-benchmarks/c/float-newlib/float_req_bl_1210_false-unreach-call.c [2018-11-23 03:25:33,956 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/data/6011e6151/6c4934718a4d4f6d8b5940bad2039062/FLAG052bc9b97 [2018-11-23 03:25:34,357 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 03:25:34,358 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/sv-benchmarks/c/float-newlib/float_req_bl_1210_false-unreach-call.c [2018-11-23 03:25:34,363 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/data/6011e6151/6c4934718a4d4f6d8b5940bad2039062/FLAG052bc9b97 [2018-11-23 03:25:34,373 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/data/6011e6151/6c4934718a4d4f6d8b5940bad2039062 [2018-11-23 03:25:34,375 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 03:25:34,376 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 03:25:34,376 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 03:25:34,376 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 03:25:34,378 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 03:25:34,379 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 03:25:34" (1/1) ... [2018-11-23 03:25:34,381 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@57f3324f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:34, skipping insertion in model container [2018-11-23 03:25:34,381 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 03:25:34" (1/1) ... [2018-11-23 03:25:34,387 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 03:25:34,402 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 03:25:34,532 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 03:25:34,540 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 03:25:34,560 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 03:25:34,572 INFO L195 MainTranslator]: Completed translation [2018-11-23 03:25:34,572 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:34 WrapperNode [2018-11-23 03:25:34,572 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 03:25:34,573 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 03:25:34,573 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 03:25:34,573 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 03:25:34,578 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:34" (1/1) ... [2018-11-23 03:25:34,584 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:34" (1/1) ... [2018-11-23 03:25:34,589 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 03:25:34,589 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 03:25:34,589 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 03:25:34,589 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 03:25:34,632 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:34" (1/1) ... [2018-11-23 03:25:34,632 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:34" (1/1) ... [2018-11-23 03:25:34,634 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:34" (1/1) ... [2018-11-23 03:25:34,635 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:34" (1/1) ... [2018-11-23 03:25:34,642 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:34" (1/1) ... [2018-11-23 03:25:34,647 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:34" (1/1) ... [2018-11-23 03:25:34,649 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:34" (1/1) ... [2018-11-23 03:25:34,651 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 03:25:34,651 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 03:25:34,652 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 03:25:34,652 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 03:25:34,652 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:34" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/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 03:25:34,683 INFO L130 BoogieDeclarations]: Found specification of procedure isnan_float [2018-11-23 03:25:34,683 INFO L138 BoogieDeclarations]: Found implementation of procedure isnan_float [2018-11-23 03:25:34,683 INFO L130 BoogieDeclarations]: Found specification of procedure read~real [2018-11-23 03:25:34,683 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-23 03:25:34,683 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 03:25:34,683 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 03:25:34,683 INFO L130 BoogieDeclarations]: Found specification of procedure write~real [2018-11-23 03:25:34,684 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 03:25:34,684 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 03:25:34,684 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 03:25:34,684 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-23 03:25:34,684 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 03:25:34,684 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 03:25:34,684 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 03:25:34,684 INFO L130 BoogieDeclarations]: Found specification of procedure modf_float [2018-11-23 03:25:34,684 INFO L138 BoogieDeclarations]: Found implementation of procedure modf_float [2018-11-23 03:25:34,910 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 03:25:34,910 INFO L280 CfgBuilder]: Removed 14 assue(true) statements. [2018-11-23 03:25:34,910 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 03:25:34 BoogieIcfgContainer [2018-11-23 03:25:34,911 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 03:25:34,911 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 03:25:34,911 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 03:25:34,914 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 03:25:34,914 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 03:25:34" (1/3) ... [2018-11-23 03:25:34,915 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1ab5f5a8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 03:25:34, skipping insertion in model container [2018-11-23 03:25:34,915 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:34" (2/3) ... [2018-11-23 03:25:34,915 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1ab5f5a8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 03:25:34, skipping insertion in model container [2018-11-23 03:25:34,915 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 03:25:34" (3/3) ... [2018-11-23 03:25:34,917 INFO L112 eAbstractionObserver]: Analyzing ICFG float_req_bl_1210_false-unreach-call.c [2018-11-23 03:25:34,923 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 03:25:34,928 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 03:25:34,937 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 03:25:34,956 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 03:25:34,957 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 03:25:34,957 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 03:25:34,957 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 03:25:34,957 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 03:25:34,957 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 03:25:34,957 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 03:25:34,957 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 03:25:34,968 INFO L276 IsEmpty]: Start isEmpty. Operand 48 states. [2018-11-23 03:25:34,973 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2018-11-23 03:25:34,973 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 03:25:34,974 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] [2018-11-23 03:25:34,976 INFO L423 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 03:25:34,979 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 03:25:34,979 INFO L82 PathProgramCache]: Analyzing trace with hash -1399428577, now seen corresponding path program 1 times [2018-11-23 03:25:34,981 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-11-23 03:25:35,010 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:25:35,010 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 03:25:35,010 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:25:35,010 INFO L286 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-11-23 03:25:35,043 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 03:25:35,071 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 03:25:35,072 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 03:25:35,072 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 03:25:35,073 INFO L256 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-11-23 03:25:35,076 INFO L459 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-11-23 03:25:35,083 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-11-23 03:25:35,084 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 03:25:35,085 INFO L87 Difference]: Start difference. First operand 48 states. Second operand 2 states. [2018-11-23 03:25:35,099 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 03:25:35,099 INFO L93 Difference]: Finished difference Result 88 states and 126 transitions. [2018-11-23 03:25:35,099 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-11-23 03:25:35,100 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 25 [2018-11-23 03:25:35,100 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 03:25:35,106 INFO L225 Difference]: With dead ends: 88 [2018-11-23 03:25:35,106 INFO L226 Difference]: Without dead ends: 44 [2018-11-23 03:25:35,108 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 03:25:35,122 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 44 states. [2018-11-23 03:25:35,139 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 44 to 44. [2018-11-23 03:25:35,140 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 44 states. [2018-11-23 03:25:35,141 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 44 states and 48 transitions. [2018-11-23 03:25:35,142 INFO L78 Accepts]: Start accepts. Automaton has 44 states and 48 transitions. Word has length 25 [2018-11-23 03:25:35,142 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 03:25:35,142 INFO L480 AbstractCegarLoop]: Abstraction has 44 states and 48 transitions. [2018-11-23 03:25:35,142 INFO L481 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-11-23 03:25:35,143 INFO L276 IsEmpty]: Start isEmpty. Operand 44 states and 48 transitions. [2018-11-23 03:25:35,144 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2018-11-23 03:25:35,144 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 03:25:35,144 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] [2018-11-23 03:25:35,144 INFO L423 AbstractCegarLoop]: === Iteration 2 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 03:25:35,145 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 03:25:35,145 INFO L82 PathProgramCache]: Analyzing trace with hash 1932138526, now seen corresponding path program 1 times [2018-11-23 03:25:35,145 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-11-23 03:25:35,146 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:25:35,146 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 03:25:35,146 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:25:35,146 INFO L286 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-11-23 03:25:35,168 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 03:25:35,200 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 03:25:35,201 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 03:25:35,201 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 03:25:35,201 INFO L256 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-11-23 03:25:35,202 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 03:25:35,203 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 03:25:35,203 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 03:25:35,203 INFO L87 Difference]: Start difference. First operand 44 states and 48 transitions. Second operand 3 states. [2018-11-23 03:25:35,215 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 03:25:35,215 INFO L93 Difference]: Finished difference Result 47 states and 50 transitions. [2018-11-23 03:25:35,216 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 03:25:35,216 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 27 [2018-11-23 03:25:35,216 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 03:25:35,217 INFO L225 Difference]: With dead ends: 47 [2018-11-23 03:25:35,217 INFO L226 Difference]: Without dead ends: 44 [2018-11-23 03:25:35,218 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 03:25:35,218 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 44 states. [2018-11-23 03:25:35,222 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 44 to 44. [2018-11-23 03:25:35,222 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 44 states. [2018-11-23 03:25:35,223 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 44 states and 47 transitions. [2018-11-23 03:25:35,223 INFO L78 Accepts]: Start accepts. Automaton has 44 states and 47 transitions. Word has length 27 [2018-11-23 03:25:35,224 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 03:25:35,224 INFO L480 AbstractCegarLoop]: Abstraction has 44 states and 47 transitions. [2018-11-23 03:25:35,224 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 03:25:35,224 INFO L276 IsEmpty]: Start isEmpty. Operand 44 states and 47 transitions. [2018-11-23 03:25:35,225 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 33 [2018-11-23 03:25:35,225 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 03:25:35,225 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] [2018-11-23 03:25:35,226 INFO L423 AbstractCegarLoop]: === Iteration 3 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 03:25:35,226 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 03:25:35,226 INFO L82 PathProgramCache]: Analyzing trace with hash -425385736, now seen corresponding path program 1 times [2018-11-23 03:25:35,226 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-11-23 03:25:35,227 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:25:35,227 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 03:25:35,227 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:25:35,227 INFO L286 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-11-23 03:25:35,252 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 03:25:35,272 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 03:25:35,291 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=6442450952, |#NULL.offset|=6442450945, |old(#NULL.base)|=6442450952, |old(#NULL.offset)|=6442450945, |old(~one_modf~0)|=6442450950.0, ~one_modf~0=6442450950.0] [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];~one_modf~0 := 1.0; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=6442450952, |old(#NULL.offset)|=6442450945, |old(~one_modf~0)|=6442450950.0, ~one_modf~0=1.0] [?] assume true; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=6442450952, |old(#NULL.offset)|=6442450945, |old(~one_modf~0)|=6442450950.0, ~one_modf~0=1.0] [?] RET #129#return; VAL [|#NULL.base|=0, |#NULL.offset|=0, ~one_modf~0=1.0] [?] CALL call #t~ret18 := main(); VAL [|#NULL.base|=0, |#NULL.offset|=0, ~one_modf~0=1.0] [?] ~x~0 := ~someBinaryArithmeticFLOAToperation(0.0, 0.0);call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4); VAL [|#NULL.base|=0, |#NULL.offset|=0, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [|#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] ~x := #in~x;~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset;havoc ~i0~0;havoc ~j0~0;havoc ~i~0; VAL [modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4);call write~real(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4);call #t~mem0 := read~int(~#gf_u~0.base, ~#gf_u~0.offset, 4);~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296);call write~real(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4);havoc #t~mem0;havoc #t~union1;call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset);havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] goto; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] ~j0~0 := ~bitwiseAnd(~i0~0 / 8388608, 255) - 127; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] assume ~j0~0 < 23; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~j0~0=(- 1), modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] assume ~j0~0 < 0; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~j0~0=(- 1), modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] call ~#sf_u~0.base, ~#sf_u~0.offset := #Ultimate.alloc(4);call write~int(~bitwiseAnd(~i0~0, 2147483648), ~#sf_u~0.base, ~#sf_u~0.offset, 4);call #t~mem2 := read~real(~#sf_u~0.base, ~#sf_u~0.offset, 4);call write~real(#t~mem2, ~iptr.base, ~iptr.offset, 4);havoc #t~mem2;call ULTIMATE.dealloc(~#sf_u~0.base, ~#sf_u~0.offset);havoc ~#sf_u~0.base, ~#sf_u~0.offset; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~j0~0=(- 1), modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] goto; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~j0~0=(- 1), modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] #res := ~x; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~j0~0=(- 1), modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, |modf_float_#res|=6442450947.0, ~one_modf~0=1.0] [?] assume true; VAL [modf_float_~i0~0=(- 2147483648), modf_float_~iptr.base=6442450955, modf_float_~iptr.offset=0, modf_float_~j0~0=(- 1), modf_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |modf_float_#in~iptr.base|=6442450955, |modf_float_#in~iptr.offset|=0, |modf_float_#in~x|=6442450947.0, |modf_float_#res|=6442450947.0, ~one_modf~0=1.0] [?] RET #133#return; VAL [main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~ret13|=6442450947.0, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] ~res~0 := #t~ret13;havoc #t~ret13;call #t~mem14 := read~real(~#iptr~0.base, ~#iptr~0.offset, 4); VAL [main_~res~0=6442450947.0, main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem14|=6442450954.0, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [|#NULL.base|=0, |#NULL.offset|=0, |isnan_float_#in~x|=6442450954.0, ~one_modf~0=1.0] [?] ~x := #in~x;#res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [isnan_float_~x=6442450954.0, |#NULL.base|=0, |#NULL.offset|=0, |isnan_float_#in~x|=6442450954.0, |isnan_float_#res|=1, ~one_modf~0=1.0] [?] assume true; VAL [isnan_float_~x=6442450954.0, |#NULL.base|=0, |#NULL.offset|=0, |isnan_float_#in~x|=6442450954.0, |isnan_float_#res|=1, ~one_modf~0=1.0] [?] RET #135#return; VAL [main_~res~0=6442450947.0, main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem14|=6442450954.0, |main_#t~ret15|=1, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] assume -2147483648 <= #t~ret15 && #t~ret15 <= 2147483647;#t~short17 := 0 != #t~ret15; VAL [main_~res~0=6442450947.0, main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem14|=6442450954.0, |main_#t~ret15|=1, |main_#t~short17|=true, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] assume #t~short17; VAL [main_~res~0=6442450947.0, main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem14|=6442450954.0, |main_#t~ret15|=1, |main_#t~short17|=true, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] CALL call #t~ret16 := isnan_float(~res~0); VAL [|#NULL.base|=0, |#NULL.offset|=0, |isnan_float_#in~x|=6442450947.0, ~one_modf~0=1.0] [?] ~x := #in~x;#res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [isnan_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |isnan_float_#in~x|=6442450947.0, |isnan_float_#res|=0, ~one_modf~0=1.0] [?] assume true; VAL [isnan_float_~x=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |isnan_float_#in~x|=6442450947.0, |isnan_float_#res|=0, ~one_modf~0=1.0] [?] RET #137#return; VAL [main_~res~0=6442450947.0, main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem14|=6442450954.0, |main_#t~ret15|=1, |main_#t~ret16|=0, |main_#t~short17|=true, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647;#t~short17 := 0 == #t~ret16; VAL [main_~res~0=6442450947.0, main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem14|=6442450954.0, |main_#t~ret15|=1, |main_#t~ret16|=0, |main_#t~short17|=true, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] assume #t~short17;havoc #t~mem14;havoc #t~ret16;havoc #t~ret15;havoc #t~short17; VAL [main_~res~0=6442450947.0, main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] assume !false; VAL [main_~res~0=6442450947.0, main_~x~0=6442450947.0, |#NULL.base|=0, |#NULL.offset|=0, |main_~#iptr~0.base|=6442450955, |main_~#iptr~0.offset|=0, ~one_modf~0=1.0] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=6442450952, #NULL.offset=6442450945, old(#NULL.base)=6442450952, old(#NULL.offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=6.44245095E9] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L11] ~one_modf~0 := 1.0; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=6442450952, old(#NULL.offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=1.0] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=6442450952, old(#NULL.offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret18 := main(); VAL [#NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L80] ~x~0 := ~someBinaryArithmeticFLOAToperation(0.0, 0.0); [L81] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L13-L70] ~x := #in~x; [L13-L70] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~iptr.base=6442450955, ~iptr.offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L17] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4); [L18] call write~real(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4); [L19] call #t~mem0 := read~int(~#gf_u~0.base, ~#gf_u~0.offset, 4); [L19] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L19] call write~real(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset); [L17] havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L21] ~j0~0 := ~bitwiseAnd(~i0~0 / 8388608, 255) - 127; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L22-L69] assume ~j0~0 < 23; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L23-L54] assume ~j0~0 < 0; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L25] call ~#sf_u~0.base, ~#sf_u~0.offset := #Ultimate.alloc(4); [L26] call write~int(~bitwiseAnd(~i0~0, 2147483648), ~#sf_u~0.base, ~#sf_u~0.offset, 4); [L27] call #t~mem2 := read~real(~#sf_u~0.base, ~#sf_u~0.offset, 4); [L27] call write~real(#t~mem2, ~iptr.base, ~iptr.offset, 4); [L27] havoc #t~mem2; [L25] call ULTIMATE.dealloc(~#sf_u~0.base, ~#sf_u~0.offset); [L25] havoc ~#sf_u~0.base, ~#sf_u~0.offset; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L29] #res := ~x; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, #res=6.442450947E9, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L13-L70] ensures true; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, #res=6.442450947E9, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0, #NULL.offset=0, #t~ret13=6.442450947E9, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~x~0=6.442450947E9] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] call #t~mem14 := read~real(~#iptr~0.base, ~#iptr~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=6.442450954E9, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450954E9, #NULL.base=0, #NULL.offset=0, #res=1, ~one_modf~0=1.0, ~x=6.442450954E9] [L73] ensures true; VAL [#in~x=6.442450954E9, #NULL.base=0, #NULL.offset=0, #res=1, ~one_modf~0=1.0, ~x=6.442450954E9] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret15 && #t~ret15 <= 2147483647; [L85] #t~short17 := 0 != #t~ret15; VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume #t~short17; VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, #res=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L73] ensures true; VAL [#in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, #res=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647; [L85] #t~short17 := 0 == #t~ret16; VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85-L88] assume #t~short17; [L85] havoc #t~mem14; [L85] havoc #t~ret16; [L85] havoc #t~ret15; [L85] havoc #t~short17; VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L86] assert false; VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=6442450952, #NULL.offset=6442450945, old(#NULL.base)=6442450952, old(#NULL.offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=6.44245095E9] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L11] ~one_modf~0 := 1.0; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=6442450952, old(#NULL.offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=1.0] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=6442450952, old(#NULL.offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret18 := main(); VAL [#NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L80] ~x~0 := ~someBinaryArithmeticFLOAToperation(0.0, 0.0); [L81] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L13-L70] ~x := #in~x; [L13-L70] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~iptr.base=6442450955, ~iptr.offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L17] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4); [L18] call write~real(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4); [L19] call #t~mem0 := read~int(~#gf_u~0.base, ~#gf_u~0.offset, 4); [L19] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L19] call write~real(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset); [L17] havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L21] ~j0~0 := ~bitwiseAnd(~i0~0 / 8388608, 255) - 127; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L22-L69] assume ~j0~0 < 23; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L23-L54] assume ~j0~0 < 0; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L25] call ~#sf_u~0.base, ~#sf_u~0.offset := #Ultimate.alloc(4); [L26] call write~int(~bitwiseAnd(~i0~0, 2147483648), ~#sf_u~0.base, ~#sf_u~0.offset, 4); [L27] call #t~mem2 := read~real(~#sf_u~0.base, ~#sf_u~0.offset, 4); [L27] call write~real(#t~mem2, ~iptr.base, ~iptr.offset, 4); [L27] havoc #t~mem2; [L25] call ULTIMATE.dealloc(~#sf_u~0.base, ~#sf_u~0.offset); [L25] havoc ~#sf_u~0.base, ~#sf_u~0.offset; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L29] #res := ~x; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, #res=6.442450947E9, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L13-L70] ensures true; VAL [#in~iptr.base=6442450955, #in~iptr.offset=0, #in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, #res=6.442450947E9, ~i0~0=-2147483648, ~iptr.base=6442450955, ~iptr.offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0, #NULL.offset=0, #t~ret13=6.442450947E9, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~x~0=6.442450947E9] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] call #t~mem14 := read~real(~#iptr~0.base, ~#iptr~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=6.442450954E9, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450954E9, #NULL.base=0, #NULL.offset=0, #res=1, ~one_modf~0=1.0, ~x=6.442450954E9] [L73] ensures true; VAL [#in~x=6.442450954E9, #NULL.base=0, #NULL.offset=0, #res=1, ~one_modf~0=1.0, ~x=6.442450954E9] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret15 && #t~ret15 <= 2147483647; [L85] #t~short17 := 0 != #t~ret15; VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume #t~short17; VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, #res=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L73] ensures true; VAL [#in~x=6.442450947E9, #NULL.base=0, #NULL.offset=0, #res=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647; [L85] #t~short17 := 0 == #t~ret16; VAL [#NULL.base=0, #NULL.offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85-L88] assume #t~short17; [L85] havoc #t~mem14; [L85] havoc #t~ret16; [L85] havoc #t~ret15; [L85] havoc #t~short17; VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L86] assert false; VAL [#NULL.base=0, #NULL.offset=0, ~#iptr~0.base=6442450955, ~#iptr~0.offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6442450952, #NULL!offset=6442450945, old(#NULL!base)=6442450952, old(#NULL!offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=6.44245095E9] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L11] ~one_modf~0 := 1.0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=6442450952, old(#NULL!offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L80] ~x~0 := ~someBinaryArithmeticFLOAToperation(0.0, 0.0); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4); [L18] FCALL call write~real(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] FCALL call #t~mem0 := read~int({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L19] FCALL call write~real(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L21] ~j0~0 := ~bitwiseAnd(~i0~0 / 8388608, 255) - 127; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L22] COND TRUE ~j0~0 < 23 VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L23] COND TRUE ~j0~0 < 0 VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L25] FCALL call ~#sf_u~0 := #Ultimate.alloc(4); [L26] FCALL call write~int(~bitwiseAnd(~i0~0, 2147483648), { base: ~#sf_u~0!base, offset: ~#sf_u~0!offset }, 4); [L27] FCALL call #t~mem2 := read~real({ base: ~#sf_u~0!base, offset: ~#sf_u~0!offset }, 4); [L27] FCALL call write~real(#t~mem2, ~iptr, 4); [L27] havoc #t~mem2; [L25] FCALL call ULTIMATE.dealloc(~#sf_u~0); [L25] havoc ~#sf_u~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L29] #res := ~x; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, #res=6.442450947E9, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret13=6.442450947E9, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~x~0=6.442450947E9] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~real(~#iptr~0, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=6.442450954E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450954E9, #NULL!base=0, #NULL!offset=0, #res=1, ~one_modf~0=1.0, ~x=6.442450954E9] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret15 && #t~ret15 <= 2147483647; [L85] #t~short17 := 0 != #t~ret15; VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] COND TRUE #t~short17 VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, #res=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647; [L85] #t~short17 := 0 == #t~ret16; VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] COND TRUE #t~short17 [L85] havoc #t~mem14; [L85] havoc #t~ret16; [L85] havoc #t~ret15; [L85] havoc #t~short17; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L86] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6442450952, #NULL!offset=6442450945, old(#NULL!base)=6442450952, old(#NULL!offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=6.44245095E9] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L11] ~one_modf~0 := 1.0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=6442450952, old(#NULL!offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L80] ~x~0 := ~someBinaryArithmeticFLOAToperation(0.0, 0.0); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4); [L18] FCALL call write~real(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] FCALL call #t~mem0 := read~int({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L19] FCALL call write~real(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L21] ~j0~0 := ~bitwiseAnd(~i0~0 / 8388608, 255) - 127; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L22] COND TRUE ~j0~0 < 23 VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L23] COND TRUE ~j0~0 < 0 VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L25] FCALL call ~#sf_u~0 := #Ultimate.alloc(4); [L26] FCALL call write~int(~bitwiseAnd(~i0~0, 2147483648), { base: ~#sf_u~0!base, offset: ~#sf_u~0!offset }, 4); [L27] FCALL call #t~mem2 := read~real({ base: ~#sf_u~0!base, offset: ~#sf_u~0!offset }, 4); [L27] FCALL call write~real(#t~mem2, ~iptr, 4); [L27] havoc #t~mem2; [L25] FCALL call ULTIMATE.dealloc(~#sf_u~0); [L25] havoc ~#sf_u~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L29] #res := ~x; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, #res=6.442450947E9, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret13=6.442450947E9, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~x~0=6.442450947E9] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~real(~#iptr~0, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=6.442450954E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450954E9, #NULL!base=0, #NULL!offset=0, #res=1, ~one_modf~0=1.0, ~x=6.442450954E9] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret15 && #t~ret15 <= 2147483647; [L85] #t~short17 := 0 != #t~ret15; VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] COND TRUE #t~short17 VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, #res=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647; [L85] #t~short17 := 0 == #t~ret16; VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] COND TRUE #t~short17 [L85] havoc #t~mem14; [L85] havoc #t~ret16; [L85] havoc #t~ret15; [L85] havoc #t~short17; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L86] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6442450952, #NULL!offset=6442450945, old(#NULL!base)=6442450952, old(#NULL!offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=6.44245095E9] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L11] ~one_modf~0 := 1.0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=6442450952, old(#NULL!offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L80] ~x~0 := ~someBinaryArithmeticFLOAToperation(0.0, 0.0); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4); [L18] FCALL call write~real(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] FCALL call #t~mem0 := read~int({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L19] FCALL call write~real(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L21] ~j0~0 := ~bitwiseAnd(~i0~0 / 8388608, 255) - 127; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L22] COND TRUE ~j0~0 < 23 VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L23] COND TRUE ~j0~0 < 0 VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L25] FCALL call ~#sf_u~0 := #Ultimate.alloc(4); [L26] FCALL call write~int(~bitwiseAnd(~i0~0, 2147483648), { base: ~#sf_u~0!base, offset: ~#sf_u~0!offset }, 4); [L27] FCALL call #t~mem2 := read~real({ base: ~#sf_u~0!base, offset: ~#sf_u~0!offset }, 4); [L27] FCALL call write~real(#t~mem2, ~iptr, 4); [L27] havoc #t~mem2; [L25] FCALL call ULTIMATE.dealloc(~#sf_u~0); [L25] havoc ~#sf_u~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L29] #res := ~x; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, #res=6.442450947E9, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret13=6.442450947E9, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~x~0=6.442450947E9] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~real(~#iptr~0, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=6.442450954E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450954E9, #NULL!base=0, #NULL!offset=0, #res=1, ~one_modf~0=1.0, ~x=6.442450954E9] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret15 && #t~ret15 <= 2147483647; [L85] #t~short17 := 0 != #t~ret15; VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] COND TRUE #t~short17 VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, #res=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647; [L85] #t~short17 := 0 == #t~ret16; VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] COND TRUE #t~short17 [L85] havoc #t~mem14; [L85] havoc #t~ret16; [L85] havoc #t~ret15; [L85] havoc #t~short17; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L86] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6442450952, #NULL!offset=6442450945, old(#NULL!base)=6442450952, old(#NULL!offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=6.44245095E9] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L11] ~one_modf~0 := 1.0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=6442450952, old(#NULL!offset)=6442450945, old(~one_modf~0)=6.44245095E9, ~one_modf~0=1.0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L80] ~x~0 := ~someBinaryArithmeticFLOAToperation(0.0, 0.0); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4); [L18] FCALL call write~real(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] FCALL call #t~mem0 := read~int({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] ~i0~0 := (if #t~mem0 % 4294967296 % 4294967296 <= 2147483647 then #t~mem0 % 4294967296 % 4294967296 else #t~mem0 % 4294967296 % 4294967296 - 4294967296); [L19] FCALL call write~real(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L21] ~j0~0 := ~bitwiseAnd(~i0~0 / 8388608, 255) - 127; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L22] COND TRUE ~j0~0 < 23 VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L23] COND TRUE ~j0~0 < 0 VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L25] FCALL call ~#sf_u~0 := #Ultimate.alloc(4); [L26] FCALL call write~int(~bitwiseAnd(~i0~0, 2147483648), { base: ~#sf_u~0!base, offset: ~#sf_u~0!offset }, 4); [L27] FCALL call #t~mem2 := read~real({ base: ~#sf_u~0!base, offset: ~#sf_u~0!offset }, 4); [L27] FCALL call write~real(#t~mem2, ~iptr, 4); [L27] havoc #t~mem2; [L25] FCALL call ULTIMATE.dealloc(~#sf_u~0); [L25] havoc ~#sf_u~0; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L29] #res := ~x; VAL [#in~iptr!base=6442450955, #in~iptr!offset=0, #in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, #res=6.442450947E9, ~i0~0=-2147483648, ~iptr!base=6442450955, ~iptr!offset=0, ~j0~0=-1, ~one_modf~0=1.0, ~x=6.442450947E9] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret13=6.442450947E9, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~x~0=6.442450947E9] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~real(~#iptr~0, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=6.442450954E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450954E9, #NULL!base=0, #NULL!offset=0, #res=1, ~one_modf~0=1.0, ~x=6.442450954E9] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret15 && #t~ret15 <= 2147483647; [L85] #t~short17 := 0 != #t~ret15; VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] COND TRUE #t~short17 VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, ~one_modf~0=1.0] [L73] ~x := #in~x; [L73] #res := (if ~someBinaryFLOATComparisonOperation(~x, ~x) then 1 else 0); VAL [#in~x=6.442450947E9, #NULL!base=0, #NULL!offset=0, #res=0, ~one_modf~0=1.0, ~x=6.442450947E9] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647; [L85] #t~short17 := 0 == #t~ret16; VAL [#NULL!base=0, #NULL!offset=0, #t~mem14=6.442450954E9, #t~ret15=1, #t~ret16=0, #t~short17=true, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L85] COND TRUE #t~short17 [L85] havoc #t~mem14; [L85] havoc #t~ret16; [L85] havoc #t~ret15; [L85] havoc #t~short17; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L86] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~#iptr~0!base=6442450955, ~#iptr~0!offset=0, ~one_modf~0=1.0, ~res~0=6.442450947E9, ~x~0=6.442450947E9] [L11] static const float one_modf = 1.0; VAL [\old(one_modf)=6442450950, one_modf=1] [L80] float x = 0.0f / 0.0f; [L81] float iptr; VAL [iptr={6442450955:0}, one_modf=1] [L82] CALL, EXPR modf_float(x, &iptr) VAL [\old(x)=6442450947, iptr={6442450955:0}, one_modf=1] [L14] __int32_t i0, j0; [L15] __uint32_t i; VAL [\old(x)=6442450947, iptr={6442450955:0}, iptr={6442450955:0}, one_modf=1, x=6442450947] [L17] ieee_float_shape_type gf_u; [L18] gf_u.value = (x) [L19] EXPR gf_u.word [L19] (i0) = gf_u.word [L21] j0 = ((i0 >> 23) & 0xff) - 0x7f VAL [\old(x)=6442450947, i0=-2147483648, iptr={6442450955:0}, iptr={6442450955:0}, one_modf=1, x=6442450947] [L22] COND TRUE j0 < 23 VAL [\old(x)=6442450947, i0=-2147483648, iptr={6442450955:0}, iptr={6442450955:0}, j0=-1, one_modf=1, x=6442450947] [L23] COND TRUE j0 < 0 VAL [\old(x)=6442450947, i0=-2147483648, iptr={6442450955:0}, iptr={6442450955:0}, j0=-1, one_modf=1, x=6442450947] [L25] ieee_float_shape_type sf_u; [L26] sf_u.word = (i0 & 0x80000000) [L27] EXPR sf_u.value [L27] (*iptr) = sf_u.value [L29] return x; VAL [\old(x)=6442450947, \result=6442450947, i0=-2147483648, iptr={6442450955:0}, iptr={6442450955:0}, j0=-1, one_modf=1, x=6442450947] [L82] RET, EXPR modf_float(x, &iptr) VAL [iptr={6442450955:0}, modf_float(x, &iptr)=6442450947, one_modf=1, x=6442450947] [L82] float res = modf_float(x, &iptr); [L85] EXPR \read(iptr) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, one_modf=1, res=6442450947, x=6442450947] [L85] CALL, EXPR isnan_float(iptr) VAL [\old(x)=6442450954, one_modf=1] [L73] return x != x; VAL [\old(x)=6442450954, \result=1, one_modf=1, x=6442450954] [L85] RET, EXPR isnan_float(iptr) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, isnan_float(iptr)=1, one_modf=1, res=6442450947, x=6442450947] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, one_modf=1, res=6442450947, x=6442450947] [L85] CALL, EXPR isnan_float(res) VAL [\old(x)=6442450947, one_modf=1] [L73] return x != x; VAL [\old(x)=6442450947, \result=0, one_modf=1, x=6442450947] [L85] RET, EXPR isnan_float(res) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1, res=6442450947, x=6442450947] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1, res=6442450947, x=6442450947] [L85] COND TRUE isnan_float(iptr) && !isnan_float(res) [L86] __VERIFIER_error() VAL [iptr={6442450955:0}, one_modf=1, res=6442450947, x=6442450947] ----- [2018-11-23 03:25:35,342 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 03:25:35 BoogieIcfgContainer [2018-11-23 03:25:35,343 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 03:25:35,343 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 03:25:35,343 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 03:25:35,343 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 03:25:35,344 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 03:25:34" (3/4) ... [2018-11-23 03:25:35,347 INFO L147 WitnessPrinter]: No result that supports witness generation found [2018-11-23 03:25:35,347 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 03:25:35,348 INFO L168 Benchmark]: Toolchain (without parser) took 972.53 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 150.5 MB). Free memory was 959.2 MB in the beginning and 1.1 GB in the end (delta: -110.9 MB). Peak memory consumption was 39.5 MB. Max. memory is 11.5 GB. [2018-11-23 03:25:35,349 INFO L168 Benchmark]: CDTParser took 0.12 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 03:25:35,350 INFO L168 Benchmark]: CACSL2BoogieTranslator took 196.54 ms. Allocated memory is still 1.0 GB. Free memory was 959.2 MB in the beginning and 945.8 MB in the end (delta: 13.4 MB). Peak memory consumption was 13.4 MB. Max. memory is 11.5 GB. [2018-11-23 03:25:35,351 INFO L168 Benchmark]: Boogie Procedure Inliner took 15.81 ms. Allocated memory is still 1.0 GB. Free memory is still 945.8 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 03:25:35,351 INFO L168 Benchmark]: Boogie Preprocessor took 62.18 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 150.5 MB). Free memory was 945.8 MB in the beginning and 1.1 GB in the end (delta: -199.0 MB). Peak memory consumption was 14.7 MB. Max. memory is 11.5 GB. [2018-11-23 03:25:35,352 INFO L168 Benchmark]: RCFGBuilder took 259.16 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 25.2 MB). Peak memory consumption was 25.2 MB. Max. memory is 11.5 GB. [2018-11-23 03:25:35,352 INFO L168 Benchmark]: TraceAbstraction took 431.49 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 46.0 MB). Peak memory consumption was 46.0 MB. Max. memory is 11.5 GB. [2018-11-23 03:25:35,353 INFO L168 Benchmark]: Witness Printer took 4.17 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 3.4 MB). Peak memory consumption was 3.4 MB. Max. memory is 11.5 GB. [2018-11-23 03:25:35,356 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.12 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 196.54 ms. Allocated memory is still 1.0 GB. Free memory was 959.2 MB in the beginning and 945.8 MB in the end (delta: 13.4 MB). Peak memory consumption was 13.4 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 15.81 ms. Allocated memory is still 1.0 GB. Free memory is still 945.8 MB. There was no memory consumed. Max. memory is 11.5 GB. * Boogie Preprocessor took 62.18 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 150.5 MB). Free memory was 945.8 MB in the beginning and 1.1 GB in the end (delta: -199.0 MB). Peak memory consumption was 14.7 MB. Max. memory is 11.5 GB. * RCFGBuilder took 259.16 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 25.2 MB). Peak memory consumption was 25.2 MB. Max. memory is 11.5 GB. * TraceAbstraction took 431.49 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 46.0 MB). Peak memory consumption was 46.0 MB. Max. memory is 11.5 GB. * Witness Printer took 4.17 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 3.4 MB). Peak memory consumption was 3.4 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - UnprovableResult [Line: 86]: Unable to prove that call of __VERIFIER_error() unreachable Unable to prove that call of __VERIFIER_error() unreachable Reason: overapproximation of someBinaryFLOATComparisonOperation at line 73, overapproximation of someBinaryArithmeticFLOAToperation at line 80, overapproximation of bitwiseAnd at line 26. Possible FailurePath: [L11] static const float one_modf = 1.0; VAL [\old(one_modf)=6442450950, one_modf=1] [L80] float x = 0.0f / 0.0f; [L81] float iptr; VAL [iptr={6442450955:0}, one_modf=1] [L82] CALL, EXPR modf_float(x, &iptr) VAL [\old(x)=6442450947, iptr={6442450955:0}, one_modf=1] [L14] __int32_t i0, j0; [L15] __uint32_t i; VAL [\old(x)=6442450947, iptr={6442450955:0}, iptr={6442450955:0}, one_modf=1, x=6442450947] [L17] ieee_float_shape_type gf_u; [L18] gf_u.value = (x) [L19] EXPR gf_u.word [L19] (i0) = gf_u.word [L21] j0 = ((i0 >> 23) & 0xff) - 0x7f VAL [\old(x)=6442450947, i0=-2147483648, iptr={6442450955:0}, iptr={6442450955:0}, one_modf=1, x=6442450947] [L22] COND TRUE j0 < 23 VAL [\old(x)=6442450947, i0=-2147483648, iptr={6442450955:0}, iptr={6442450955:0}, j0=-1, one_modf=1, x=6442450947] [L23] COND TRUE j0 < 0 VAL [\old(x)=6442450947, i0=-2147483648, iptr={6442450955:0}, iptr={6442450955:0}, j0=-1, one_modf=1, x=6442450947] [L25] ieee_float_shape_type sf_u; [L26] sf_u.word = (i0 & 0x80000000) [L27] EXPR sf_u.value [L27] (*iptr) = sf_u.value [L29] return x; VAL [\old(x)=6442450947, \result=6442450947, i0=-2147483648, iptr={6442450955:0}, iptr={6442450955:0}, j0=-1, one_modf=1, x=6442450947] [L82] RET, EXPR modf_float(x, &iptr) VAL [iptr={6442450955:0}, modf_float(x, &iptr)=6442450947, one_modf=1, x=6442450947] [L82] float res = modf_float(x, &iptr); [L85] EXPR \read(iptr) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, one_modf=1, res=6442450947, x=6442450947] [L85] CALL, EXPR isnan_float(iptr) VAL [\old(x)=6442450954, one_modf=1] [L73] return x != x; VAL [\old(x)=6442450954, \result=1, one_modf=1, x=6442450954] [L85] RET, EXPR isnan_float(iptr) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, isnan_float(iptr)=1, one_modf=1, res=6442450947, x=6442450947] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, one_modf=1, res=6442450947, x=6442450947] [L85] CALL, EXPR isnan_float(res) VAL [\old(x)=6442450947, one_modf=1] [L73] return x != x; VAL [\old(x)=6442450947, \result=0, one_modf=1, x=6442450947] [L85] RET, EXPR isnan_float(res) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1, res=6442450947, x=6442450947] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=6442450954, iptr={6442450955:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1, res=6442450947, x=6442450947] [L85] COND TRUE isnan_float(iptr) && !isnan_float(res) [L86] __VERIFIER_error() VAL [iptr={6442450955:0}, one_modf=1, res=6442450947, x=6442450947] - StatisticsResult: Ultimate Automizer benchmark data CFG has 5 procedures, 48 locations, 1 error locations. UNSAFE Result, 0.3s OverallTime, 3 OverallIterations, 2 TraceHistogramMax, 0.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 100 SDtfs, 0 SDslu, 43 SDs, 0 SdLazy, 4 SolverSat, 0 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 5 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=48occurred in iteration=0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 2 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 84 NumberOfCodeBlocks, 84 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 50 ConstructedInterpolants, 0 QuantifiedInterpolants, 1278 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces Received shutdown request... ### Bit-precise run ### This is Ultimate 0.1.23-aa41828 [2018-11-23 03:25:36,752 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 03:25:36,753 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 03:25:36,760 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 03:25:36,761 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 03:25:36,761 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 03:25:36,762 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 03:25:36,763 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 03:25:36,764 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 03:25:36,765 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 03:25:36,766 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 03:25:36,766 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 03:25:36,767 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 03:25:36,768 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 03:25:36,768 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 03:25:36,769 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 03:25:36,770 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 03:25:36,771 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 03:25:36,772 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 03:25:36,774 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 03:25:36,774 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 03:25:36,775 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 03:25:36,777 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 03:25:36,777 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 03:25:36,777 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 03:25:36,778 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 03:25:36,779 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 03:25:36,779 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 03:25:36,780 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 03:25:36,781 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 03:25:36,781 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 03:25:36,781 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 03:25:36,782 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 03:25:36,782 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 03:25:36,782 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 03:25:36,783 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 03:25:36,783 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/config/svcomp-Reach-32bit-Taipan_Bitvector.epf [2018-11-23 03:25:36,794 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 03:25:36,794 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 03:25:36,795 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 03:25:36,795 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 03:25:36,795 INFO L133 SettingsManager]: * User list type=DISABLED [2018-11-23 03:25:36,796 INFO L131 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2018-11-23 03:25:36,796 INFO L133 SettingsManager]: * Explicit value domain=true [2018-11-23 03:25:36,796 INFO L133 SettingsManager]: * Octagon Domain=false [2018-11-23 03:25:36,796 INFO L133 SettingsManager]: * Abstract domain=CompoundDomain [2018-11-23 03:25:36,796 INFO L133 SettingsManager]: * Interval Domain=false [2018-11-23 03:25:36,797 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 03:25:36,797 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 03:25:36,797 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 03:25:36,797 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 03:25:36,797 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 03:25:36,798 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 03:25:36,798 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 03:25:36,798 INFO L133 SettingsManager]: * Use bitvectors instead of ints=true [2018-11-23 03:25:36,798 INFO L133 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2018-11-23 03:25:36,798 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 03:25:36,798 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 03:25:36,798 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 03:25:36,798 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 03:25:36,799 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 03:25:36,799 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 03:25:36,799 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 03:25:36,799 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 03:25:36,799 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 03:25:36,799 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 03:25:36,800 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 03:25:36,800 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 03:25:36,800 INFO L133 SettingsManager]: * Trace refinement strategy=WALRUS [2018-11-23 03:25:36,800 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 03:25:36,800 INFO L133 SettingsManager]: * Command for external solver=cvc4nyu --tear-down-incremental --rewrite-divk --print-success --lang smt [2018-11-23 03:25:36,800 INFO L133 SettingsManager]: * Logic for external solver=AUFBV [2018-11-23 03:25:36,800 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_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan 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 -> Taipan 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 -> 36fce2ac9d239f0bf9286aa317af7b50704c65b6 [2018-11-23 03:25:36,833 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 03:25:36,842 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 03:25:36,845 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 03:25:36,846 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 03:25:36,846 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 03:25:36,847 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/../../sv-benchmarks/c/float-newlib/float_req_bl_1210_false-unreach-call.c [2018-11-23 03:25:36,892 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/data/b28cf7ac7/82869d8f0fd34a428965dfae7db9bc50/FLAG637037350 [2018-11-23 03:25:37,215 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 03:25:37,216 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/sv-benchmarks/c/float-newlib/float_req_bl_1210_false-unreach-call.c [2018-11-23 03:25:37,220 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/data/b28cf7ac7/82869d8f0fd34a428965dfae7db9bc50/FLAG637037350 [2018-11-23 03:25:37,649 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/data/b28cf7ac7/82869d8f0fd34a428965dfae7db9bc50 [2018-11-23 03:25:37,651 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 03:25:37,652 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 03:25:37,652 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 03:25:37,652 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 03:25:37,655 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 03:25:37,656 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 03:25:37" (1/1) ... [2018-11-23 03:25:37,658 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6c58243f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:37, skipping insertion in model container [2018-11-23 03:25:37,658 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 03:25:37" (1/1) ... [2018-11-23 03:25:37,666 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 03:25:37,679 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 03:25:37,807 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 03:25:37,819 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 03:25:37,840 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 03:25:37,850 INFO L195 MainTranslator]: Completed translation [2018-11-23 03:25:37,850 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:37 WrapperNode [2018-11-23 03:25:37,850 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 03:25:37,851 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 03:25:37,851 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 03:25:37,851 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 03:25:37,856 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:37" (1/1) ... [2018-11-23 03:25:37,862 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:37" (1/1) ... [2018-11-23 03:25:37,867 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 03:25:37,868 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 03:25:37,868 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 03:25:37,868 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 03:25:37,873 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:37" (1/1) ... [2018-11-23 03:25:37,873 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:37" (1/1) ... [2018-11-23 03:25:37,876 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:37" (1/1) ... [2018-11-23 03:25:37,876 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:37" (1/1) ... [2018-11-23 03:25:37,885 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:37" (1/1) ... [2018-11-23 03:25:37,890 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:37" (1/1) ... [2018-11-23 03:25:37,891 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:37" (1/1) ... [2018-11-23 03:25:37,893 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 03:25:37,894 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 03:25:37,894 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 03:25:37,894 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 03:25:37,895 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:37" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/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 03:25:37,980 INFO L130 BoogieDeclarations]: Found specification of procedure isnan_float [2018-11-23 03:25:37,980 INFO L138 BoogieDeclarations]: Found implementation of procedure isnan_float [2018-11-23 03:25:37,980 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 03:25:37,981 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 03:25:37,981 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 03:25:37,981 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2018-11-23 03:25:37,981 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 03:25:37,981 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 03:25:37,981 INFO L130 BoogieDeclarations]: Found specification of procedure write~intFLOATTYPE4 [2018-11-23 03:25:37,981 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 03:25:37,981 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 03:25:37,981 INFO L130 BoogieDeclarations]: Found specification of procedure read~intFLOATTYPE4 [2018-11-23 03:25:37,982 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2018-11-23 03:25:37,982 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 03:25:37,982 INFO L130 BoogieDeclarations]: Found specification of procedure modf_float [2018-11-23 03:25:37,982 INFO L138 BoogieDeclarations]: Found implementation of procedure modf_float [2018-11-23 03:25:38,144 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 03:25:38,176 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 03:25:38,183 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 03:25:38,266 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 03:25:38,291 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 03:25:38,310 WARN L317 ript$VariableManager]: TermVariabe |q#valueAsBitvector| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 03:25:38,313 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 03:25:38,313 INFO L280 CfgBuilder]: Removed 14 assue(true) statements. [2018-11-23 03:25:38,313 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 03:25:38 BoogieIcfgContainer [2018-11-23 03:25:38,313 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 03:25:38,314 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 03:25:38,314 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 03:25:38,316 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 03:25:38,316 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 03:25:37" (1/3) ... [2018-11-23 03:25:38,316 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1b7c7646 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 03:25:38, skipping insertion in model container [2018-11-23 03:25:38,316 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:25:37" (2/3) ... [2018-11-23 03:25:38,317 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1b7c7646 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 03:25:38, skipping insertion in model container [2018-11-23 03:25:38,317 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 03:25:38" (3/3) ... [2018-11-23 03:25:38,318 INFO L112 eAbstractionObserver]: Analyzing ICFG float_req_bl_1210_false-unreach-call.c [2018-11-23 03:25:38,323 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 03:25:38,328 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 03:25:38,337 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 03:25:38,355 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 03:25:38,356 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 03:25:38,356 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 03:25:38,356 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 03:25:38,356 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 03:25:38,356 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 03:25:38,356 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 03:25:38,356 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 03:25:38,356 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 03:25:38,367 INFO L276 IsEmpty]: Start isEmpty. Operand 48 states. [2018-11-23 03:25:38,372 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2018-11-23 03:25:38,372 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 03:25:38,372 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] [2018-11-23 03:25:38,374 INFO L423 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 03:25:38,377 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 03:25:38,378 INFO L82 PathProgramCache]: Analyzing trace with hash -1399428577, now seen corresponding path program 1 times [2018-11-23 03:25:38,381 INFO L223 ckRefinementStrategy]: Switched to mode MATHSAT_FPBP [2018-11-23 03:25:38,381 INFO L69 tionRefinementEngine]: Using refinement strategy WalrusRefinementStrategy No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/mathsat Starting monitored process 2 with mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with mathsat -unsat_core_generation=3 [2018-11-23 03:25:38,385 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 03:25:38,483 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 03:25:38,492 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 03:25:38,506 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 03:25:38,506 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 03:25:38,520 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 03:25:38,520 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 03:25:38,523 INFO L459 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-11-23 03:25:38,534 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-11-23 03:25:38,535 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 03:25:38,536 INFO L87 Difference]: Start difference. First operand 48 states. Second operand 2 states. [2018-11-23 03:25:38,554 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 03:25:38,554 INFO L93 Difference]: Finished difference Result 88 states and 126 transitions. [2018-11-23 03:25:38,554 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-11-23 03:25:38,555 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 25 [2018-11-23 03:25:38,555 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 03:25:38,563 INFO L225 Difference]: With dead ends: 88 [2018-11-23 03:25:38,563 INFO L226 Difference]: Without dead ends: 44 [2018-11-23 03:25:38,566 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 24 GetRequests, 24 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 03:25:38,578 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 44 states. [2018-11-23 03:25:38,592 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 44 to 44. [2018-11-23 03:25:38,593 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 44 states. [2018-11-23 03:25:38,594 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 44 states and 48 transitions. [2018-11-23 03:25:38,595 INFO L78 Accepts]: Start accepts. Automaton has 44 states and 48 transitions. Word has length 25 [2018-11-23 03:25:38,595 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 03:25:38,595 INFO L480 AbstractCegarLoop]: Abstraction has 44 states and 48 transitions. [2018-11-23 03:25:38,595 INFO L481 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-11-23 03:25:38,596 INFO L276 IsEmpty]: Start isEmpty. Operand 44 states and 48 transitions. [2018-11-23 03:25:38,597 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2018-11-23 03:25:38,597 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 03:25:38,597 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] [2018-11-23 03:25:38,597 INFO L423 AbstractCegarLoop]: === Iteration 2 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 03:25:38,597 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 03:25:38,597 INFO L82 PathProgramCache]: Analyzing trace with hash 1932138526, now seen corresponding path program 1 times [2018-11-23 03:25:38,598 INFO L223 ckRefinementStrategy]: Switched to mode MATHSAT_FPBP [2018-11-23 03:25:38,598 INFO L69 tionRefinementEngine]: Using refinement strategy WalrusRefinementStrategy No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/mathsat Starting monitored process 3 with mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with mathsat -unsat_core_generation=3 [2018-11-23 03:25:38,601 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 03:25:38,645 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 03:25:38,649 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 03:25:38,790 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 03:25:38,790 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 03:25:38,802 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 03:25:38,802 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2018-11-23 03:25:38,803 INFO L459 AbstractCegarLoop]: Interpolant automaton has 7 states [2018-11-23 03:25:38,804 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2018-11-23 03:25:38,804 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2018-11-23 03:25:38,804 INFO L87 Difference]: Start difference. First operand 44 states and 48 transitions. Second operand 7 states. [2018-11-23 03:25:39,392 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 03:25:39,392 INFO L93 Difference]: Finished difference Result 60 states and 65 transitions. [2018-11-23 03:25:39,394 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2018-11-23 03:25:39,394 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 27 [2018-11-23 03:25:39,394 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 03:25:39,395 INFO L225 Difference]: With dead ends: 60 [2018-11-23 03:25:39,395 INFO L226 Difference]: Without dead ends: 31 [2018-11-23 03:25:39,396 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 31 GetRequests, 21 SyntacticMatches, 0 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 7 ImplicationChecksByTransitivity, 0.2s TimeCoverageRelationStatistics Valid=42, Invalid=90, Unknown=0, NotChecked=0, Total=132 [2018-11-23 03:25:39,397 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 31 states. [2018-11-23 03:25:39,401 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 31 to 31. [2018-11-23 03:25:39,401 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 31 states. [2018-11-23 03:25:39,402 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 31 states and 32 transitions. [2018-11-23 03:25:39,402 INFO L78 Accepts]: Start accepts. Automaton has 31 states and 32 transitions. Word has length 27 [2018-11-23 03:25:39,402 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 03:25:39,403 INFO L480 AbstractCegarLoop]: Abstraction has 31 states and 32 transitions. [2018-11-23 03:25:39,403 INFO L481 AbstractCegarLoop]: Interpolant automaton has 7 states. [2018-11-23 03:25:39,403 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 32 transitions. [2018-11-23 03:25:39,403 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 29 [2018-11-23 03:25:39,404 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 03:25:39,404 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 03:25:39,404 INFO L423 AbstractCegarLoop]: === Iteration 3 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 03:25:39,404 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 03:25:39,404 INFO L82 PathProgramCache]: Analyzing trace with hash -2040204428, now seen corresponding path program 1 times [2018-11-23 03:25:39,405 INFO L223 ckRefinementStrategy]: Switched to mode MATHSAT_FPBP [2018-11-23 03:25:39,405 INFO L69 tionRefinementEngine]: Using refinement strategy WalrusRefinementStrategy No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/mathsat Starting monitored process 4 with mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with mathsat -unsat_core_generation=3 [2018-11-23 03:25:39,410 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 03:25:39,485 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 03:25:39,493 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 03:25:39,498 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 03:25:39,498 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 03:25:39,510 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 03:25:39,510 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 03:25:39,511 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 03:25:39,511 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 03:25:39,511 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 03:25:39,511 INFO L87 Difference]: Start difference. First operand 31 states and 32 transitions. Second operand 3 states. [2018-11-23 03:25:39,518 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 03:25:39,518 INFO L93 Difference]: Finished difference Result 34 states and 34 transitions. [2018-11-23 03:25:39,518 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 03:25:39,518 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 28 [2018-11-23 03:25:39,519 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 03:25:39,519 INFO L225 Difference]: With dead ends: 34 [2018-11-23 03:25:39,519 INFO L226 Difference]: Without dead ends: 31 [2018-11-23 03:25:39,520 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 27 GetRequests, 26 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 03:25:39,520 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 31 states. [2018-11-23 03:25:39,523 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 31 to 31. [2018-11-23 03:25:39,523 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 31 states. [2018-11-23 03:25:39,524 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 31 states and 31 transitions. [2018-11-23 03:25:39,524 INFO L78 Accepts]: Start accepts. Automaton has 31 states and 31 transitions. Word has length 28 [2018-11-23 03:25:39,526 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 03:25:39,526 INFO L480 AbstractCegarLoop]: Abstraction has 31 states and 31 transitions. [2018-11-23 03:25:39,526 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 03:25:39,526 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 31 transitions. [2018-11-23 03:25:39,527 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 34 [2018-11-23 03:25:39,527 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 03:25:39,527 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] [2018-11-23 03:25:39,527 INFO L423 AbstractCegarLoop]: === Iteration 4 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 03:25:39,527 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 03:25:39,527 INFO L82 PathProgramCache]: Analyzing trace with hash 263973730, now seen corresponding path program 1 times [2018-11-23 03:25:39,527 INFO L223 ckRefinementStrategy]: Switched to mode MATHSAT_FPBP [2018-11-23 03:25:39,527 INFO L69 tionRefinementEngine]: Using refinement strategy WalrusRefinementStrategy No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/mathsat Starting monitored process 5 with mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 5 with mathsat -unsat_core_generation=3 [2018-11-23 03:25:39,530 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 03:25:39,634 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 03:25:39,734 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 03:25:39,783 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=(_ bv6 32), |#NULL.offset|=(_ bv5 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000 #b00000000000000000000101), ~one_modf~0=(fp #b0 #b00000000 #b00000000000000000000101)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000 #b00000000000000000000101), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000 #b00000000000000000000101), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] RET #129#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call #t~ret18 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT());call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4bv32); VAL [main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~x := #in~x;~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset;havoc ~i0~0;havoc ~j0~0;havoc ~i~0; VAL [modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4bv32);call write~intFLOATTYPE4(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32);call #t~mem0 := read~intINTTYPE4(~#gf_u~0.base, ~#gf_u~0.offset, 4bv32);~i0~0 := #t~mem0;call write~intFLOATTYPE4(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32);havoc #t~mem0;havoc #t~union1;call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset);havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] goto; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume !~bvslt32(~j0~0, 23bv32);havoc ~ix~1;call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 4bv32); VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] call ~#gf_u~2.base, ~#gf_u~2.offset := #Ultimate.alloc(4bv32);call write~intFLOATTYPE4(~x, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32);call #t~mem9 := read~intINTTYPE4(~#gf_u~2.base, ~#gf_u~2.offset, 4bv32);~ix~1 := #t~mem9;call write~intFLOATTYPE4(#t~union10, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32);havoc #t~union10;havoc #t~mem9;call ULTIMATE.dealloc(~#gf_u~2.base, ~#gf_u~2.offset);havoc ~#gf_u~2.base, ~#gf_u~2.offset; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] goto; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] call ~#sf_u~3.base, ~#sf_u~3.offset := #Ultimate.alloc(4bv32);call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32);call #t~mem11 := read~intFLOATTYPE4(~#sf_u~3.base, ~#sf_u~3.offset, 4bv32);~x := #t~mem11;call write~intINTTYPE4(#t~union12, ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32);havoc #t~union12;havoc #t~mem11;call ULTIMATE.dealloc(~#sf_u~3.base, ~#sf_u~3.offset);havoc ~#sf_u~3.base, ~#sf_u~3.offset; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] goto; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] #res := ~x; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), |modf_float_#res|=(fp #b0 #b00000000 #b00000000000000000000000), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume true; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), |modf_float_#res|=(fp #b0 #b00000000 #b00000000000000000000000), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] RET #133#return; VAL [main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret13|=(fp #b0 #b00000000 #b00000000000000000000000), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~res~0 := #t~ret13;havoc #t~ret13;call #t~mem14 := read~intFLOATTYPE4(~#iptr~0.base, ~#iptr~0.offset, 4bv32); VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~x := #in~x;#res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [isnan_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(_ NaN 8 24), |isnan_float_#res|=(_ bv1 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume true; VAL [isnan_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(_ NaN 8 24), |isnan_float_#res|=(_ bv1 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] RET #135#return; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] #t~short17 := 0bv32 != #t~ret15; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_#t~short17|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume #t~short17; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_#t~short17|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call #t~ret16 := isnan_float(~res~0); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(fp #b0 #b00000000 #b00000000000000000000000), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~x := #in~x;#res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [isnan_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(fp #b0 #b00000000 #b00000000000000000000000), |isnan_float_#res|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume true; VAL [isnan_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(fp #b0 #b00000000 #b00000000000000000000000), |isnan_float_#res|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] RET #137#return; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_#t~ret16|=(_ bv0 32), |main_#t~short17|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] #t~short17 := 0bv32 == #t~ret16; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_#t~ret16|=(_ bv0 32), |main_#t~short17|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume #t~short17;havoc #t~ret16;havoc #t~mem14;havoc #t~short17;havoc #t~ret15; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume !false; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=6bv32, #NULL.offset=5bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4bv32); [L18] call write~intFLOATTYPE4(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] call #t~mem0 := read~intINTTYPE4(~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] call write~intFLOATTYPE4(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset); [L17] havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22-L69] assume !~bvslt32(~j0~0, 23bv32); [L56] havoc ~ix~1; [L57] call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 4bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] call ~#gf_u~2.base, ~#gf_u~2.offset := #Ultimate.alloc(4bv32); [L60] call write~intFLOATTYPE4(~x, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] call #t~mem9 := read~intINTTYPE4(~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] call write~intFLOATTYPE4(#t~union10, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] havoc #t~union10; [L61] havoc #t~mem9; [L59] call ULTIMATE.dealloc(~#gf_u~2.base, ~#gf_u~2.offset); [L59] havoc ~#gf_u~2.base, ~#gf_u~2.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] call ~#sf_u~3.base, ~#sf_u~3.offset := #Ultimate.alloc(4bv32); [L65] call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] call #t~mem11 := read~intFLOATTYPE4(~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] ~x := #t~mem11; [L66] call write~intINTTYPE4(#t~union12, ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] havoc #t~union12; [L66] havoc #t~mem11; [L64] call ULTIMATE.dealloc(~#sf_u~3.base, ~#sf_u~3.offset); [L64] havoc ~#sf_u~3.base, ~#sf_u~3.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L13-L70] ensures true; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] call #t~mem14 := read~intFLOATTYPE4(~#iptr~0.base, ~#iptr~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L73] ensures true; VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] assume #t~short17; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L73] ensures true; VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85-L88] assume #t~short17; [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=6bv32, #NULL.offset=5bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4bv32); [L18] call write~intFLOATTYPE4(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] call #t~mem0 := read~intINTTYPE4(~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] call write~intFLOATTYPE4(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset); [L17] havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22-L69] assume !~bvslt32(~j0~0, 23bv32); [L56] havoc ~ix~1; [L57] call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 4bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] call ~#gf_u~2.base, ~#gf_u~2.offset := #Ultimate.alloc(4bv32); [L60] call write~intFLOATTYPE4(~x, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] call #t~mem9 := read~intINTTYPE4(~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] call write~intFLOATTYPE4(#t~union10, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] havoc #t~union10; [L61] havoc #t~mem9; [L59] call ULTIMATE.dealloc(~#gf_u~2.base, ~#gf_u~2.offset); [L59] havoc ~#gf_u~2.base, ~#gf_u~2.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] call ~#sf_u~3.base, ~#sf_u~3.offset := #Ultimate.alloc(4bv32); [L65] call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] call #t~mem11 := read~intFLOATTYPE4(~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] ~x := #t~mem11; [L66] call write~intINTTYPE4(#t~union12, ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] havoc #t~union12; [L66] havoc #t~mem11; [L64] call ULTIMATE.dealloc(~#sf_u~3.base, ~#sf_u~3.offset); [L64] havoc ~#sf_u~3.base, ~#sf_u~3.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L13-L70] ensures true; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] call #t~mem14 := read~intFLOATTYPE4(~#iptr~0.base, ~#iptr~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L73] ensures true; VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] assume #t~short17; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L73] ensures true; VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85-L88] assume #t~short17; [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4bv32); [L18] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] FCALL call write~intFLOATTYPE4(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22] COND FALSE !(~bvslt32(~j0~0, 23bv32)) [L56] havoc ~ix~1; [L57] FCALL call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 4bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] FCALL call ~#gf_u~2 := #Ultimate.alloc(4bv32); [L60] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] FCALL call #t~mem9 := read~intINTTYPE4({ base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] FCALL call write~intFLOATTYPE4(#t~union10, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] havoc #t~union10; [L61] havoc #t~mem9; [L59] FCALL call ULTIMATE.dealloc(~#gf_u~2); [L59] havoc ~#gf_u~2; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] FCALL call ~#sf_u~3 := #Ultimate.alloc(4bv32); [L65] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] FCALL call #t~mem11 := read~intFLOATTYPE4({ base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] ~x := #t~mem11; [L66] FCALL call write~intINTTYPE4(#t~union12, { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] havoc #t~union12; [L66] havoc #t~mem11; [L64] FCALL call ULTIMATE.dealloc(~#sf_u~3); [L64] havoc ~#sf_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~intFLOATTYPE4(~#iptr~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4bv32); [L18] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] FCALL call write~intFLOATTYPE4(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22] COND FALSE !(~bvslt32(~j0~0, 23bv32)) [L56] havoc ~ix~1; [L57] FCALL call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 4bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] FCALL call ~#gf_u~2 := #Ultimate.alloc(4bv32); [L60] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] FCALL call #t~mem9 := read~intINTTYPE4({ base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] FCALL call write~intFLOATTYPE4(#t~union10, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] havoc #t~union10; [L61] havoc #t~mem9; [L59] FCALL call ULTIMATE.dealloc(~#gf_u~2); [L59] havoc ~#gf_u~2; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] FCALL call ~#sf_u~3 := #Ultimate.alloc(4bv32); [L65] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] FCALL call #t~mem11 := read~intFLOATTYPE4({ base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] ~x := #t~mem11; [L66] FCALL call write~intINTTYPE4(#t~union12, { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] havoc #t~union12; [L66] havoc #t~mem11; [L64] FCALL call ULTIMATE.dealloc(~#sf_u~3); [L64] havoc ~#sf_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~intFLOATTYPE4(~#iptr~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4bv32); [L18] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] FCALL call write~intFLOATTYPE4(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22] COND FALSE !(~bvslt32(~j0~0, 23bv32)) [L56] havoc ~ix~1; [L57] FCALL call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 4bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] FCALL call ~#gf_u~2 := #Ultimate.alloc(4bv32); [L60] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] FCALL call #t~mem9 := read~intINTTYPE4({ base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] FCALL call write~intFLOATTYPE4(#t~union10, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] havoc #t~union10; [L61] havoc #t~mem9; [L59] FCALL call ULTIMATE.dealloc(~#gf_u~2); [L59] havoc ~#gf_u~2; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] FCALL call ~#sf_u~3 := #Ultimate.alloc(4bv32); [L65] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] FCALL call #t~mem11 := read~intFLOATTYPE4({ base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] ~x := #t~mem11; [L66] FCALL call write~intINTTYPE4(#t~union12, { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] havoc #t~union12; [L66] havoc #t~mem11; [L64] FCALL call ULTIMATE.dealloc(~#sf_u~3); [L64] havoc ~#sf_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~intFLOATTYPE4(~#iptr~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4bv32); [L18] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] FCALL call write~intFLOATTYPE4(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22] COND FALSE !(~bvslt32(~j0~0, 23bv32)) [L56] havoc ~ix~1; [L57] FCALL call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 4bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] FCALL call ~#gf_u~2 := #Ultimate.alloc(4bv32); [L60] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] FCALL call #t~mem9 := read~intINTTYPE4({ base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] FCALL call write~intFLOATTYPE4(#t~union10, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] havoc #t~union10; [L61] havoc #t~mem9; [L59] FCALL call ULTIMATE.dealloc(~#gf_u~2); [L59] havoc ~#gf_u~2; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] FCALL call ~#sf_u~3 := #Ultimate.alloc(4bv32); [L65] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] FCALL call #t~mem11 := read~intFLOATTYPE4({ base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] ~x := #t~mem11; [L66] FCALL call write~intINTTYPE4(#t~union12, { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] havoc #t~union12; [L66] havoc #t~mem11; [L64] FCALL call ULTIMATE.dealloc(~#sf_u~3); [L64] havoc ~#sf_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~intFLOATTYPE4(~#iptr~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L11] static const float one_modf = 1.0; VAL [\old(one_modf)=0.000000000000000000000000000000000000000000007006492321624085, one_modf=1.0] [L80] float x = 0.0f / 0.0f; [L81] float iptr; VAL [iptr={2:0}, one_modf=1.0, x=NaN] [L82] CALL, EXPR modf_float(x, &iptr) VAL [\old(x)=NaN, iptr={2:0}, one_modf=1.0] [L14] __int32_t i0, j0; [L15] __uint32_t i; VAL [\old(x)=NaN, iptr={2:0}, iptr={2:0}, one_modf=1.0, x=NaN] [L17] ieee_float_shape_type gf_u; [L18] gf_u.value = (x) [L19] EXPR gf_u.word [L19] (i0) = gf_u.word [L21] j0 = ((i0 >> 23) & 0xff) - 0x7f VAL [\old(x)=NaN, i0=2143289344, iptr={2:0}, iptr={2:0}, j0=128, one_modf=1.0, x=NaN] [L22] COND FALSE !(j0 < 23) [L56] __uint32_t ix; [L57] *iptr = x * one_modf VAL [\old(x)=NaN, i0=2143289344, iptr={2:0}, iptr={2:0}, j0=128, one_modf=1.0, x=NaN] [L59] ieee_float_shape_type gf_u; [L60] gf_u.value = (x) [L61] EXPR gf_u.word [L61] (ix) = gf_u.word [L64] ieee_float_shape_type sf_u; [L65] sf_u.word = (ix & 0x80000000) [L66] EXPR sf_u.value [L66] (x) = sf_u.value [L68] return x; VAL [\old(x)=NaN, \result=0.0, i0=2143289344, iptr={2:0}, iptr={2:0}, ix=2143289344, j0=128, one_modf=1.0, x=0.0] [L82] RET, EXPR modf_float(x, &iptr) VAL [iptr={2:0}, modf_float(x, &iptr)=0.0, one_modf=1.0, x=NaN] [L82] float res = modf_float(x, &iptr); [L85] EXPR \read(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] [L85] CALL, EXPR isnan_float(iptr) VAL [\old(x)=NaN, one_modf=1.0] [L73] return x != x; VAL [\old(x)=NaN, \result=1, one_modf=1.0, x=NaN] [L85] RET, EXPR isnan_float(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, one_modf=1.0, res=0.0, x=NaN] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, one_modf=1.0, res=0.0, x=NaN] [L85] CALL, EXPR isnan_float(res) VAL [\old(x)=0.0, one_modf=1.0] [L73] return x != x; VAL [\old(x)=0.0, \result=0, one_modf=1.0, x=0.0] [L85] RET, EXPR isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1.0, res=0.0, x=NaN] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1.0, res=0.0, x=NaN] [L85] COND TRUE isnan_float(iptr) && !isnan_float(res) [L86] __VERIFIER_error() VAL [iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] ----- [2018-11-23 03:25:39,844 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 03:25:39 BoogieIcfgContainer [2018-11-23 03:25:39,844 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 03:25:39,844 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 03:25:39,844 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 03:25:39,844 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 03:25:39,845 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 03:25:38" (3/4) ... [2018-11-23 03:25:39,847 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=(_ bv6 32), |#NULL.offset|=(_ bv5 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000 #b00000000000000000000101), ~one_modf~0=(fp #b0 #b00000000 #b00000000000000000000101)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000 #b00000000000000000000101), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv6 32), |old(#NULL.offset)|=(_ bv5 32), |old(~one_modf~0)|=(fp #b0 #b00000000 #b00000000000000000000101), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] RET #129#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call #t~ret18 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT());call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4bv32); VAL [main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~x := #in~x;~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset;havoc ~i0~0;havoc ~j0~0;havoc ~i~0; VAL [modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4bv32);call write~intFLOATTYPE4(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32);call #t~mem0 := read~intINTTYPE4(~#gf_u~0.base, ~#gf_u~0.offset, 4bv32);~i0~0 := #t~mem0;call write~intFLOATTYPE4(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32);havoc #t~mem0;havoc #t~union1;call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset);havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] goto; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume !~bvslt32(~j0~0, 23bv32);havoc ~ix~1;call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 4bv32); VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] call ~#gf_u~2.base, ~#gf_u~2.offset := #Ultimate.alloc(4bv32);call write~intFLOATTYPE4(~x, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32);call #t~mem9 := read~intINTTYPE4(~#gf_u~2.base, ~#gf_u~2.offset, 4bv32);~ix~1 := #t~mem9;call write~intFLOATTYPE4(#t~union10, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32);havoc #t~union10;havoc #t~mem9;call ULTIMATE.dealloc(~#gf_u~2.base, ~#gf_u~2.offset);havoc ~#gf_u~2.base, ~#gf_u~2.offset; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] goto; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] call ~#sf_u~3.base, ~#sf_u~3.offset := #Ultimate.alloc(4bv32);call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32);call #t~mem11 := read~intFLOATTYPE4(~#sf_u~3.base, ~#sf_u~3.offset, 4bv32);~x := #t~mem11;call write~intINTTYPE4(#t~union12, ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32);havoc #t~union12;havoc #t~mem11;call ULTIMATE.dealloc(~#sf_u~3.base, ~#sf_u~3.offset);havoc ~#sf_u~3.base, ~#sf_u~3.offset; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] goto; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] #res := ~x; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), |modf_float_#res|=(fp #b0 #b00000000 #b00000000000000000000000), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume true; VAL [modf_float_~i0~0=(_ bv2143289344 32), modf_float_~iptr.base=(_ bv2 32), modf_float_~iptr.offset=(_ bv0 32), modf_float_~ix~1=(_ bv2143289344 32), modf_float_~j0~0=(_ bv128 32), modf_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |modf_float_#in~iptr.base|=(_ bv2 32), |modf_float_#in~iptr.offset|=(_ bv0 32), |modf_float_#in~x|=(_ NaN 8 24), |modf_float_#res|=(fp #b0 #b00000000 #b00000000000000000000000), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] RET #133#return; VAL [main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret13|=(fp #b0 #b00000000 #b00000000000000000000000), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~res~0 := #t~ret13;havoc #t~ret13;call #t~mem14 := read~intFLOATTYPE4(~#iptr~0.base, ~#iptr~0.offset, 4bv32); VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(_ NaN 8 24), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~x := #in~x;#res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [isnan_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(_ NaN 8 24), |isnan_float_#res|=(_ bv1 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume true; VAL [isnan_float_~x=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(_ NaN 8 24), |isnan_float_#res|=(_ bv1 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] RET #135#return; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] #t~short17 := 0bv32 != #t~ret15; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_#t~short17|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume #t~short17; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_#t~short17|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call #t~ret16 := isnan_float(~res~0); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(fp #b0 #b00000000 #b00000000000000000000000), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] ~x := #in~x;#res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [isnan_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(fp #b0 #b00000000 #b00000000000000000000000), |isnan_float_#res|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume true; VAL [isnan_float_~x=(fp #b0 #b00000000 #b00000000000000000000000), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |isnan_float_#in~x|=(fp #b0 #b00000000 #b00000000000000000000000), |isnan_float_#res|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] RET #137#return; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_#t~ret16|=(_ bv0 32), |main_#t~short17|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] #t~short17 := 0bv32 == #t~ret16; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ NaN 8 24), |main_#t~ret15|=(_ bv1 32), |main_#t~ret16|=(_ bv0 32), |main_#t~short17|=true, |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume #t~short17;havoc #t~ret16;havoc #t~mem14;havoc #t~short17;havoc #t~ret15; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] assume !false; VAL [main_~res~0=(fp #b0 #b00000000 #b00000000000000000000000), main_~x~0=(_ NaN 8 24), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#iptr~0.base|=(_ bv2 32), |main_~#iptr~0.offset|=(_ bv0 32), ~one_modf~0=(fp #b0 #b01111111 #b00000000000000000000000)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=6bv32, #NULL.offset=5bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4bv32); [L18] call write~intFLOATTYPE4(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] call #t~mem0 := read~intINTTYPE4(~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] call write~intFLOATTYPE4(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset); [L17] havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22-L69] assume !~bvslt32(~j0~0, 23bv32); [L56] havoc ~ix~1; [L57] call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 4bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] call ~#gf_u~2.base, ~#gf_u~2.offset := #Ultimate.alloc(4bv32); [L60] call write~intFLOATTYPE4(~x, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] call #t~mem9 := read~intINTTYPE4(~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] call write~intFLOATTYPE4(#t~union10, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] havoc #t~union10; [L61] havoc #t~mem9; [L59] call ULTIMATE.dealloc(~#gf_u~2.base, ~#gf_u~2.offset); [L59] havoc ~#gf_u~2.base, ~#gf_u~2.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] call ~#sf_u~3.base, ~#sf_u~3.offset := #Ultimate.alloc(4bv32); [L65] call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] call #t~mem11 := read~intFLOATTYPE4(~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] ~x := #t~mem11; [L66] call write~intINTTYPE4(#t~union12, ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] havoc #t~union12; [L66] havoc #t~mem11; [L64] call ULTIMATE.dealloc(~#sf_u~3.base, ~#sf_u~3.offset); [L64] havoc ~#sf_u~3.base, ~#sf_u~3.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L13-L70] ensures true; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] call #t~mem14 := read~intFLOATTYPE4(~#iptr~0.base, ~#iptr~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L73] ensures true; VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] assume #t~short17; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L73] ensures true; VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85-L88] assume #t~short17; [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=6bv32, #NULL.offset=5bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=6bv32, old(#NULL.offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] call ~#iptr~0.base, ~#iptr~0.offset := #Ultimate.alloc(4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr.base, ~iptr.offset := #in~iptr.base, #in~iptr.offset; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] call ~#gf_u~0.base, ~#gf_u~0.offset := #Ultimate.alloc(4bv32); [L18] call write~intFLOATTYPE4(~x, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] call #t~mem0 := read~intINTTYPE4(~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] call write~intFLOATTYPE4(#t~union1, ~#gf_u~0.base, ~#gf_u~0.offset, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] call ULTIMATE.dealloc(~#gf_u~0.base, ~#gf_u~0.offset); [L17] havoc ~#gf_u~0.base, ~#gf_u~0.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22-L69] assume !~bvslt32(~j0~0, 23bv32); [L56] havoc ~ix~1; [L57] call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr.base, ~iptr.offset, 4bv32); VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] call ~#gf_u~2.base, ~#gf_u~2.offset := #Ultimate.alloc(4bv32); [L60] call write~intFLOATTYPE4(~x, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] call #t~mem9 := read~intINTTYPE4(~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] call write~intFLOATTYPE4(#t~union10, ~#gf_u~2.base, ~#gf_u~2.offset, 4bv32); [L61] havoc #t~union10; [L61] havoc #t~mem9; [L59] call ULTIMATE.dealloc(~#gf_u~2.base, ~#gf_u~2.offset); [L59] havoc ~#gf_u~2.base, ~#gf_u~2.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] call ~#sf_u~3.base, ~#sf_u~3.offset := #Ultimate.alloc(4bv32); [L65] call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] call #t~mem11 := read~intFLOATTYPE4(~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] ~x := #t~mem11; [L66] call write~intINTTYPE4(#t~union12, ~#sf_u~3.base, ~#sf_u~3.offset, 4bv32); [L66] havoc #t~union12; [L66] havoc #t~mem11; [L64] call ULTIMATE.dealloc(~#sf_u~3.base, ~#sf_u~3.offset); [L64] havoc ~#sf_u~3.base, ~#sf_u~3.offset; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L13-L70] ensures true; VAL [#in~iptr.base=2bv32, #in~iptr.offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr.base=2bv32, ~iptr.offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0.base, ~#iptr~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] call #t~mem14 := read~intFLOATTYPE4(~#iptr~0.base, ~#iptr~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L73] ensures true; VAL [#in~x=~NaN~LONGDOUBLE(), #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] assume #t~short17; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L73] ensures true; VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85-L88] assume #t~short17; [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#iptr~0.base=2bv32, ~#iptr~0.offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4bv32); [L18] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] FCALL call write~intFLOATTYPE4(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22] COND FALSE !(~bvslt32(~j0~0, 23bv32)) [L56] havoc ~ix~1; [L57] FCALL call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 4bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] FCALL call ~#gf_u~2 := #Ultimate.alloc(4bv32); [L60] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] FCALL call #t~mem9 := read~intINTTYPE4({ base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] FCALL call write~intFLOATTYPE4(#t~union10, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] havoc #t~union10; [L61] havoc #t~mem9; [L59] FCALL call ULTIMATE.dealloc(~#gf_u~2); [L59] havoc ~#gf_u~2; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] FCALL call ~#sf_u~3 := #Ultimate.alloc(4bv32); [L65] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] FCALL call #t~mem11 := read~intFLOATTYPE4({ base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] ~x := #t~mem11; [L66] FCALL call write~intINTTYPE4(#t~union12, { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] havoc #t~union12; [L66] havoc #t~mem11; [L64] FCALL call ULTIMATE.dealloc(~#sf_u~3); [L64] havoc ~#sf_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~intFLOATTYPE4(~#iptr~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4bv32); [L18] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] FCALL call write~intFLOATTYPE4(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22] COND FALSE !(~bvslt32(~j0~0, 23bv32)) [L56] havoc ~ix~1; [L57] FCALL call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 4bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] FCALL call ~#gf_u~2 := #Ultimate.alloc(4bv32); [L60] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] FCALL call #t~mem9 := read~intINTTYPE4({ base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] FCALL call write~intFLOATTYPE4(#t~union10, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] havoc #t~union10; [L61] havoc #t~mem9; [L59] FCALL call ULTIMATE.dealloc(~#gf_u~2); [L59] havoc ~#gf_u~2; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] FCALL call ~#sf_u~3 := #Ultimate.alloc(4bv32); [L65] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] FCALL call #t~mem11 := read~intFLOATTYPE4({ base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] ~x := #t~mem11; [L66] FCALL call write~intINTTYPE4(#t~union12, { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] havoc #t~union12; [L66] havoc #t~mem11; [L64] FCALL call ULTIMATE.dealloc(~#sf_u~3); [L64] havoc ~#sf_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~intFLOATTYPE4(~#iptr~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4bv32); [L18] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] FCALL call write~intFLOATTYPE4(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22] COND FALSE !(~bvslt32(~j0~0, 23bv32)) [L56] havoc ~ix~1; [L57] FCALL call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 4bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] FCALL call ~#gf_u~2 := #Ultimate.alloc(4bv32); [L60] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] FCALL call #t~mem9 := read~intINTTYPE4({ base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] FCALL call write~intFLOATTYPE4(#t~union10, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] havoc #t~union10; [L61] havoc #t~mem9; [L59] FCALL call ULTIMATE.dealloc(~#gf_u~2); [L59] havoc ~#gf_u~2; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] FCALL call ~#sf_u~3 := #Ultimate.alloc(4bv32); [L65] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] FCALL call #t~mem11 := read~intFLOATTYPE4({ base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] ~x := #t~mem11; [L66] FCALL call write~intINTTYPE4(#t~union12, { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] havoc #t~union12; [L66] havoc #t~mem11; [L64] FCALL call ULTIMATE.dealloc(~#sf_u~3); [L64] havoc ~#sf_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~intFLOATTYPE4(~#iptr~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=6bv32, #NULL!offset=5bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23)] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L11] ~one_modf~0 := ~convertDOUBLEToFLOAT(~roundNearestTiesToEven, ~to_fp~DOUBLE(~roundNearestTiesToEven, 1.0)); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=6bv32, old(#NULL!offset)=5bv32, old(~one_modf~0)=~fp~LONGDOUBLE(0bv1, 0bv8, 5bv23), ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L80] ~x~0 := ~fp.div~FLOAT(~roundNearestTiesToEven, ~Pluszero~FLOAT(), ~Pluszero~FLOAT()); [L81] FCALL call ~#iptr~0 := #Ultimate.alloc(4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] CALL call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L13-L70] ~x := #in~x; [L13-L70] ~iptr := #in~iptr; [L14] havoc ~i0~0; [L14] havoc ~j0~0; [L15] havoc ~i~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L17] FCALL call ~#gf_u~0 := #Ultimate.alloc(4bv32); [L18] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] FCALL call #t~mem0 := read~intINTTYPE4({ base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] ~i0~0 := #t~mem0; [L19] FCALL call write~intFLOATTYPE4(#t~union1, { base: ~#gf_u~0!base, offset: ~#gf_u~0!offset }, 4bv32); [L19] havoc #t~mem0; [L19] havoc #t~union1; [L17] FCALL call ULTIMATE.dealloc(~#gf_u~0); [L17] havoc ~#gf_u~0; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L21] ~j0~0 := ~bvsub32(~bvand32(255bv32, ~bvashr32(~i0~0, 23bv32)), 127bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L22] COND FALSE !(~bvslt32(~j0~0, 23bv32)) [L56] havoc ~ix~1; [L57] FCALL call write~intFLOATTYPE4(~fp.mul~FLOAT(~roundNearestTiesToEven, ~x, ~one_modf~0), ~iptr, 4bv32); VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L59] FCALL call ~#gf_u~2 := #Ultimate.alloc(4bv32); [L60] FCALL call write~intFLOATTYPE4(~x, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] FCALL call #t~mem9 := read~intINTTYPE4({ base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] ~ix~1 := #t~mem9; [L61] FCALL call write~intFLOATTYPE4(#t~union10, { base: ~#gf_u~2!base, offset: ~#gf_u~2!offset }, 4bv32); [L61] havoc #t~union10; [L61] havoc #t~mem9; [L59] FCALL call ULTIMATE.dealloc(~#gf_u~2); [L59] havoc ~#gf_u~2; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L64] FCALL call ~#sf_u~3 := #Ultimate.alloc(4bv32); [L65] FCALL call write~intINTTYPE4(~bvand32(2147483648bv32, ~ix~1), { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] FCALL call #t~mem11 := read~intFLOATTYPE4({ base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] ~x := #t~mem11; [L66] FCALL call write~intINTTYPE4(#t~union12, { base: ~#sf_u~3!base, offset: ~#sf_u~3!offset }, 4bv32); [L66] havoc #t~union12; [L66] havoc #t~mem11; [L64] FCALL call ULTIMATE.dealloc(~#sf_u~3); [L64] havoc ~#sf_u~3; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L68] #res := ~x; VAL [#in~iptr!base=2bv32, #in~iptr!offset=0bv32, #in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~i0~0=2143289344bv32, ~iptr!base=2bv32, ~iptr!offset=0bv32, ~ix~1=2143289344bv32, ~j0~0=128bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L82] RET call #t~ret13 := modf_float(~x~0, ~#iptr~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret13=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L82] ~res~0 := #t~ret13; [L82] havoc #t~ret13; [L85] FCALL call #t~mem14 := read~intFLOATTYPE4(~#iptr~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret15 := isnan_float(#t~mem14); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~NaN~LONGDOUBLE(), #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~NaN~LONGDOUBLE()] [L85] RET call #t~ret15 := isnan_float(#t~mem14); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 != #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] CALL call #t~ret16 := isnan_float(~res~0); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23)] [L73] ~x := #in~x; [L73] #res := (if !~fp.eq~FLOAT(~x, ~x) then 1bv32 else 0bv32); VAL [#in~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~x=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23)] [L85] RET call #t~ret16 := isnan_float(~res~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] #t~short17 := 0bv32 == #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=~NaN~LONGDOUBLE(), #t~ret15=1bv32, #t~ret16=0bv32, #t~short17=true, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L85] COND TRUE #t~short17 [L85] havoc #t~ret16; [L85] havoc #t~mem14; [L85] havoc #t~short17; [L85] havoc #t~ret15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L86] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#iptr~0!base=2bv32, ~#iptr~0!offset=0bv32, ~one_modf~0=~fp~LONGDOUBLE(0bv1, 127bv8, 0bv23), ~res~0=~fp~LONGDOUBLE(0bv1, 0bv8, 0bv23), ~x~0=~NaN~LONGDOUBLE()] [L11] static const float one_modf = 1.0; VAL [\old(one_modf)=0.000000000000000000000000000000000000000000007006492321624085, one_modf=1.0] [L80] float x = 0.0f / 0.0f; [L81] float iptr; VAL [iptr={2:0}, one_modf=1.0, x=NaN] [L82] CALL, EXPR modf_float(x, &iptr) VAL [\old(x)=NaN, iptr={2:0}, one_modf=1.0] [L14] __int32_t i0, j0; [L15] __uint32_t i; VAL [\old(x)=NaN, iptr={2:0}, iptr={2:0}, one_modf=1.0, x=NaN] [L17] ieee_float_shape_type gf_u; [L18] gf_u.value = (x) [L19] EXPR gf_u.word [L19] (i0) = gf_u.word [L21] j0 = ((i0 >> 23) & 0xff) - 0x7f VAL [\old(x)=NaN, i0=2143289344, iptr={2:0}, iptr={2:0}, j0=128, one_modf=1.0, x=NaN] [L22] COND FALSE !(j0 < 23) [L56] __uint32_t ix; [L57] *iptr = x * one_modf VAL [\old(x)=NaN, i0=2143289344, iptr={2:0}, iptr={2:0}, j0=128, one_modf=1.0, x=NaN] [L59] ieee_float_shape_type gf_u; [L60] gf_u.value = (x) [L61] EXPR gf_u.word [L61] (ix) = gf_u.word [L64] ieee_float_shape_type sf_u; [L65] sf_u.word = (ix & 0x80000000) [L66] EXPR sf_u.value [L66] (x) = sf_u.value [L68] return x; VAL [\old(x)=NaN, \result=0.0, i0=2143289344, iptr={2:0}, iptr={2:0}, ix=2143289344, j0=128, one_modf=1.0, x=0.0] [L82] RET, EXPR modf_float(x, &iptr) VAL [iptr={2:0}, modf_float(x, &iptr)=0.0, one_modf=1.0, x=NaN] [L82] float res = modf_float(x, &iptr); [L85] EXPR \read(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] [L85] CALL, EXPR isnan_float(iptr) VAL [\old(x)=NaN, one_modf=1.0] [L73] return x != x; VAL [\old(x)=NaN, \result=1, one_modf=1.0, x=NaN] [L85] RET, EXPR isnan_float(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, one_modf=1.0, res=0.0, x=NaN] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, one_modf=1.0, res=0.0, x=NaN] [L85] CALL, EXPR isnan_float(res) VAL [\old(x)=0.0, one_modf=1.0] [L73] return x != x; VAL [\old(x)=0.0, \result=0, one_modf=1.0, x=0.0] [L85] RET, EXPR isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1.0, res=0.0, x=NaN] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1.0, res=0.0, x=NaN] [L85] COND TRUE isnan_float(iptr) && !isnan_float(res) [L86] __VERIFIER_error() VAL [iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] ----- [2018-11-23 03:25:39,977 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_fab46597-1ac5-4740-a3a8-ba3fcb114703/bin-2019/utaipan/witness.graphml [2018-11-23 03:25:39,977 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 03:25:39,978 INFO L168 Benchmark]: Toolchain (without parser) took 2326.66 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 145.2 MB). Free memory was 949.7 MB in the beginning and 991.1 MB in the end (delta: -41.4 MB). Peak memory consumption was 103.9 MB. Max. memory is 11.5 GB. [2018-11-23 03:25:39,979 INFO L168 Benchmark]: CDTParser took 0.16 ms. Allocated memory is still 1.0 GB. Free memory is still 978.7 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 03:25:39,979 INFO L168 Benchmark]: CACSL2BoogieTranslator took 198.00 ms. Allocated memory is still 1.0 GB. Free memory was 949.7 MB in the beginning and 933.6 MB in the end (delta: 16.1 MB). Peak memory consumption was 16.1 MB. Max. memory is 11.5 GB. [2018-11-23 03:25:39,979 INFO L168 Benchmark]: Boogie Procedure Inliner took 16.84 ms. Allocated memory is still 1.0 GB. Free memory is still 933.6 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 03:25:39,979 INFO L168 Benchmark]: Boogie Preprocessor took 25.71 ms. Allocated memory is still 1.0 GB. Free memory is still 933.6 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 03:25:39,979 INFO L168 Benchmark]: RCFGBuilder took 419.81 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 145.2 MB). Free memory was 933.6 MB in the beginning and 1.1 GB in the end (delta: -174.4 MB). Peak memory consumption was 21.0 MB. Max. memory is 11.5 GB. [2018-11-23 03:25:39,980 INFO L168 Benchmark]: TraceAbstraction took 1530.07 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 997.6 MB in the end (delta: 110.4 MB). Peak memory consumption was 110.4 MB. Max. memory is 11.5 GB. [2018-11-23 03:25:39,980 INFO L168 Benchmark]: Witness Printer took 133.19 ms. Allocated memory is still 1.2 GB. Free memory was 997.6 MB in the beginning and 991.1 MB in the end (delta: 6.6 MB). Peak memory consumption was 6.6 MB. Max. memory is 11.5 GB. [2018-11-23 03:25:39,982 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.16 ms. Allocated memory is still 1.0 GB. Free memory is still 978.7 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 198.00 ms. Allocated memory is still 1.0 GB. Free memory was 949.7 MB in the beginning and 933.6 MB in the end (delta: 16.1 MB). Peak memory consumption was 16.1 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 16.84 ms. Allocated memory is still 1.0 GB. Free memory is still 933.6 MB. There was no memory consumed. Max. memory is 11.5 GB. * Boogie Preprocessor took 25.71 ms. Allocated memory is still 1.0 GB. Free memory is still 933.6 MB. There was no memory consumed. Max. memory is 11.5 GB. * RCFGBuilder took 419.81 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 145.2 MB). Free memory was 933.6 MB in the beginning and 1.1 GB in the end (delta: -174.4 MB). Peak memory consumption was 21.0 MB. Max. memory is 11.5 GB. * TraceAbstraction took 1530.07 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 997.6 MB in the end (delta: 110.4 MB). Peak memory consumption was 110.4 MB. Max. memory is 11.5 GB. * Witness Printer took 133.19 ms. Allocated memory is still 1.2 GB. Free memory was 997.6 MB in the beginning and 991.1 MB in the end (delta: 6.6 MB). Peak memory consumption was 6.6 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 86]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L11] static const float one_modf = 1.0; VAL [\old(one_modf)=0.000000000000000000000000000000000000000000007006492321624085, one_modf=1.0] [L80] float x = 0.0f / 0.0f; [L81] float iptr; VAL [iptr={2:0}, one_modf=1.0, x=NaN] [L82] CALL, EXPR modf_float(x, &iptr) VAL [\old(x)=NaN, iptr={2:0}, one_modf=1.0] [L14] __int32_t i0, j0; [L15] __uint32_t i; VAL [\old(x)=NaN, iptr={2:0}, iptr={2:0}, one_modf=1.0, x=NaN] [L17] ieee_float_shape_type gf_u; [L18] gf_u.value = (x) [L19] EXPR gf_u.word [L19] (i0) = gf_u.word [L21] j0 = ((i0 >> 23) & 0xff) - 0x7f VAL [\old(x)=NaN, i0=2143289344, iptr={2:0}, iptr={2:0}, j0=128, one_modf=1.0, x=NaN] [L22] COND FALSE !(j0 < 23) [L56] __uint32_t ix; [L57] *iptr = x * one_modf VAL [\old(x)=NaN, i0=2143289344, iptr={2:0}, iptr={2:0}, j0=128, one_modf=1.0, x=NaN] [L59] ieee_float_shape_type gf_u; [L60] gf_u.value = (x) [L61] EXPR gf_u.word [L61] (ix) = gf_u.word [L64] ieee_float_shape_type sf_u; [L65] sf_u.word = (ix & 0x80000000) [L66] EXPR sf_u.value [L66] (x) = sf_u.value [L68] return x; VAL [\old(x)=NaN, \result=0.0, i0=2143289344, iptr={2:0}, iptr={2:0}, ix=2143289344, j0=128, one_modf=1.0, x=0.0] [L82] RET, EXPR modf_float(x, &iptr) VAL [iptr={2:0}, modf_float(x, &iptr)=0.0, one_modf=1.0, x=NaN] [L82] float res = modf_float(x, &iptr); [L85] EXPR \read(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] [L85] CALL, EXPR isnan_float(iptr) VAL [\old(x)=NaN, one_modf=1.0] [L73] return x != x; VAL [\old(x)=NaN, \result=1, one_modf=1.0, x=NaN] [L85] RET, EXPR isnan_float(iptr) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, one_modf=1.0, res=0.0, x=NaN] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, one_modf=1.0, res=0.0, x=NaN] [L85] CALL, EXPR isnan_float(res) VAL [\old(x)=0.0, one_modf=1.0] [L73] return x != x; VAL [\old(x)=0.0, \result=0, one_modf=1.0, x=0.0] [L85] RET, EXPR isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1.0, res=0.0, x=NaN] [L85] isnan_float(iptr) && !isnan_float(res) VAL [\read(iptr)=NaN, iptr={2:0}, isnan_float(iptr)=1, isnan_float(iptr) && !isnan_float(res)=1, isnan_float(res)=0, one_modf=1.0, res=0.0, x=NaN] [L85] COND TRUE isnan_float(iptr) && !isnan_float(res) [L86] __VERIFIER_error() VAL [iptr={2:0}, one_modf=1.0, res=0.0, x=NaN] - StatisticsResult: Ultimate Automizer benchmark data CFG has 5 procedures, 48 locations, 1 error locations. UNSAFE Result, 1.4s OverallTime, 4 OverallIterations, 2 TraceHistogramMax, 0.6s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 117 SDtfs, 87 SDslu, 137 SDs, 0 SdLazy, 53 SolverSat, 0 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.3s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 82 GetRequests, 71 SyntacticMatches, 0 SemanticMatches, 11 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 7 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=48occurred in iteration=0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 3 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 113 NumberOfCodeBlocks, 113 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 77 ConstructedInterpolants, 7 QuantifiedInterpolants, 6064 SizeOfPredicates, 4 NumberOfNonLiveVariables, 226 ConjunctsInSsa, 9 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...