./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/heap-manipulation/tree-4.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/heap-manipulation/tree-4.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/bin/ukojak-verify-EEHR8qb7sm --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 93cf6e13715dcd5309cb599b4358d41a64464f02c52b3716bc554a9d0e833f5e --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:45:41,915 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:45:41,980 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Reach-32bit-Kojak_Default.epf [2024-11-13 22:45:41,985 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 22:45:41,986 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 22:45:42,013 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:45:42,013 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:45:42,014 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:45:42,014 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:45:42,014 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:45:42,015 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:45:42,015 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:45:42,015 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-13 22:45:42,015 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 22:45:42,015 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-13 22:45:42,016 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:45:42,016 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:45:42,016 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:45:42,016 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:45:42,016 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:45:42,016 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-13 22:45:42,017 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:45:42,017 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:45:42,017 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:45:42,017 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:45:42,017 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:45:42,018 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:45:42,018 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:45:42,018 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:45:42,018 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:45:42,018 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:45:42,018 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 22:45:42,019 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 22:45:42,019 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/bin/ukojak-verify-EEHR8qb7sm Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness 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(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak 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 -> 93cf6e13715dcd5309cb599b4358d41a64464f02c52b3716bc554a9d0e833f5e [2024-11-13 22:45:42,412 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:45:42,423 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:45:42,426 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:45:42,427 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:45:42,429 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:45:42,431 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/heap-manipulation/tree-4.i Unable to find full path for "g++" [2024-11-13 22:45:44,488 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:45:44,832 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:45:44,833 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/sv-benchmarks/c/heap-manipulation/tree-4.i [2024-11-13 22:45:44,847 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/bin/ukojak-verify-EEHR8qb7sm/data/d7c5f49bd/6bdb0a03eaa14bdfa29558a9d502ba49/FLAGb0a0eba35 [2024-11-13 22:45:44,865 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/bin/ukojak-verify-EEHR8qb7sm/data/d7c5f49bd/6bdb0a03eaa14bdfa29558a9d502ba49 [2024-11-13 22:45:44,868 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:45:44,870 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:45:44,871 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:45:44,871 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:45:44,876 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:45:44,877 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:45:44" (1/1) ... [2024-11-13 22:45:44,877 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@9662f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:44, skipping insertion in model container [2024-11-13 22:45:44,878 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:45:44" (1/1) ... [2024-11-13 22:45:44,907 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:45:45,268 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/sv-benchmarks/c/heap-manipulation/tree-4.i[22626,22639] [2024-11-13 22:45:45,292 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:45:45,300 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:45:45,340 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/sv-benchmarks/c/heap-manipulation/tree-4.i[22626,22639] [2024-11-13 22:45:45,357 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:45:45,383 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:45:45,384 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:45 WrapperNode [2024-11-13 22:45:45,384 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:45:45,385 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:45:45,385 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:45:45,385 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:45:45,391 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:45" (1/1) ... [2024-11-13 22:45:45,400 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:45" (1/1) ... [2024-11-13 22:45:45,420 INFO L138 Inliner]: procedures = 122, calls = 44, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 138 [2024-11-13 22:45:45,421 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:45:45,421 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:45:45,421 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:45:45,422 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:45:45,428 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:45" (1/1) ... [2024-11-13 22:45:45,428 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:45" (1/1) ... [2024-11-13 22:45:45,431 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:45" (1/1) ... [2024-11-13 22:45:45,432 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:45" (1/1) ... [2024-11-13 22:45:45,440 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:45" (1/1) ... [2024-11-13 22:45:45,444 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:45" (1/1) ... [2024-11-13 22:45:45,446 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:45" (1/1) ... [2024-11-13 22:45:45,447 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:45" (1/1) ... [2024-11-13 22:45:45,451 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:45:45,452 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:45:45,452 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:45:45,452 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:45:45,453 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:45" (1/1) ... [2024-11-13 22:45:45,459 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:45:45,471 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:45:45,483 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 22:45:45,488 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 22:45:45,514 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-11-13 22:45:45,514 INFO L130 BoogieDeclarations]: Found specification of procedure fail [2024-11-13 22:45:45,514 INFO L138 BoogieDeclarations]: Found implementation of procedure fail [2024-11-13 22:45:45,514 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-11-13 22:45:45,515 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-13 22:45:45,515 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:45:45,515 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2024-11-13 22:45:45,515 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2024-11-13 22:45:45,515 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-13 22:45:45,516 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 22:45:45,516 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:45:45,516 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:45:45,640 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:45:45,642 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:45:46,021 INFO L? ?]: Removed 33 outVars from TransFormulas that were not future-live. [2024-11-13 22:45:46,024 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:45:46,170 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:45:46,174 INFO L316 CfgBuilder]: Removed 11 assume(true) statements. [2024-11-13 22:45:46,175 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:45:46 BoogieIcfgContainer [2024-11-13 22:45:46,175 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:45:46,175 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:45:46,176 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:45:46,188 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:45:46,189 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:45:46" (1/1) ... [2024-11-13 22:45:46,204 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:45:46,262 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:45:46,272 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 28 states and 47 transitions. [2024-11-13 22:45:46,274 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 47 transitions. [2024-11-13 22:45:46,275 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 22:45:46,275 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:45:46,277 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:45:46,365 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:45:46,419 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 22:45:46,471 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:45:46,472 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 40 states to 27 states and 40 transitions. [2024-11-13 22:45:46,472 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 40 transitions. [2024-11-13 22:45:46,474 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 22:45:46,474 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:45:46,474 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:45:46,511 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:45:46,697 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 22:45:46,850 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:45:46,851 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 32 states and 46 transitions. [2024-11-13 22:45:46,851 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 46 transitions. [2024-11-13 22:45:46,851 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-13 22:45:46,851 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:45:46,852 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:45:46,912 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:45:46,980 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 22:45:47,241 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:45:47,241 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 33 states and 49 transitions. [2024-11-13 22:45:47,241 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 49 transitions. [2024-11-13 22:45:47,242 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2024-11-13 22:45:47,242 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:45:47,242 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:45:47,302 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:45:47,596 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 2 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 22:45:48,416 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:45:48,416 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 60 states to 37 states and 60 transitions. [2024-11-13 22:45:48,416 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 60 transitions. [2024-11-13 22:45:48,418 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-11-13 22:45:48,419 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:45:48,419 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:45:48,515 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:45:48,721 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 2 proven. 2 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2024-11-13 22:45:49,058 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:45:49,058 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 52 states to 33 states and 52 transitions. [2024-11-13 22:45:49,058 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 52 transitions. [2024-11-13 22:45:49,059 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-13 22:45:49,059 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:45:49,059 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:45:49,200 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:45:51,348 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 2 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 22:45:53,146 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:45:53,149 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 76 states to 42 states and 76 transitions. [2024-11-13 22:45:53,149 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states and 76 transitions. [2024-11-13 22:45:53,150 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-13 22:45:53,150 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:45:53,150 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:45:53,208 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:45:54,153 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 2 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 22:45:56,020 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:45:56,020 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 91 states to 48 states and 91 transitions. [2024-11-13 22:45:56,021 INFO L276 IsEmpty]: Start isEmpty. Operand 48 states and 91 transitions. [2024-11-13 22:45:56,021 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2024-11-13 22:45:56,021 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:45:56,021 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:45:56,126 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:45:57,124 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 2 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 22:45:58,201 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:45:58,202 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 101 states to 52 states and 101 transitions. [2024-11-13 22:45:58,202 INFO L276 IsEmpty]: Start isEmpty. Operand 52 states and 101 transitions. [2024-11-13 22:45:58,203 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2024-11-13 22:45:58,203 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:45:58,203 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:45:58,293 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:45:59,158 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 2 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 22:46:00,005 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:46:00,006 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 106 states to 53 states and 106 transitions. [2024-11-13 22:46:00,006 INFO L276 IsEmpty]: Start isEmpty. Operand 53 states and 106 transitions. [2024-11-13 22:46:00,007 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2024-11-13 22:46:00,007 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:46:00,007 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:46:00,243 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:46:02,926 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 4 proven. 5 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 22:46:05,475 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:46:05,476 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 116 states to 56 states and 116 transitions. [2024-11-13 22:46:05,477 INFO L276 IsEmpty]: Start isEmpty. Operand 56 states and 116 transitions. [2024-11-13 22:46:05,477 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2024-11-13 22:46:05,478 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:46:05,478 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:46:05,647 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:46:08,331 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 6 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 22:46:11,712 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:46:11,712 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 139 states to 58 states and 139 transitions. [2024-11-13 22:46:11,713 INFO L276 IsEmpty]: Start isEmpty. Operand 58 states and 139 transitions. [2024-11-13 22:46:11,714 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2024-11-13 22:46:11,714 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:46:11,714 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:46:12,115 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:46:17,611 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 2 proven. 7 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 22:46:22,764 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:46:22,765 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 181 states to 66 states and 181 transitions. [2024-11-13 22:46:22,765 INFO L276 IsEmpty]: Start isEmpty. Operand 66 states and 181 transitions. [2024-11-13 22:46:22,766 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2024-11-13 22:46:22,766 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:46:22,767 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:46:22,812 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:46:22,812 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:46:22,845 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:46:23,705 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:46:23,705 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:46:24,287 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:46:24,336 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 13 iterations. [2024-11-13 22:46:24,378 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:46:24 ImpRootNode [2024-11-13 22:46:24,378 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:46:24,378 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:46:24,379 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:46:24,379 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:46:24,380 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:45:46" (3/4) ... [2024-11-13 22:46:24,381 INFO L136 WitnessPrinter]: Generating witness for reachability counterexample [2024-11-13 22:46:24,447 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/bin/ukojak-verify-EEHR8qb7sm/witness.graphml [2024-11-13 22:46:24,448 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:46:24,449 INFO L158 Benchmark]: Toolchain (without parser) took 39579.67ms. Allocated memory was 142.6MB in the beginning and 780.1MB in the end (delta: 637.5MB). Free memory was 117.6MB in the beginning and 497.1MB in the end (delta: -379.5MB). Peak memory consumption was 256.1MB. Max. memory is 16.1GB. [2024-11-13 22:46:24,450 INFO L158 Benchmark]: CDTParser took 0.42ms. Allocated memory is still 167.8MB. Free memory is still 105.3MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:46:24,451 INFO L158 Benchmark]: CACSL2BoogieTranslator took 513.17ms. Allocated memory is still 142.6MB. Free memory was 117.6MB in the beginning and 99.9MB in the end (delta: 17.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 22:46:24,451 INFO L158 Benchmark]: Boogie Procedure Inliner took 36.12ms. Allocated memory is still 142.6MB. Free memory was 99.9MB in the beginning and 98.1MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:46:24,452 INFO L158 Benchmark]: Boogie Preprocessor took 30.36ms. Allocated memory is still 142.6MB. Free memory was 98.1MB in the beginning and 96.4MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:46:24,453 INFO L158 Benchmark]: RCFGBuilder took 722.61ms. Allocated memory is still 142.6MB. Free memory was 96.4MB in the beginning and 70.5MB in the end (delta: 25.9MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. [2024-11-13 22:46:24,454 INFO L158 Benchmark]: CodeCheck took 38202.33ms. Allocated memory was 142.6MB in the beginning and 780.1MB in the end (delta: 637.5MB). Free memory was 70.5MB in the beginning and 497.3MB in the end (delta: -426.8MB). Peak memory consumption was 205.7MB. Max. memory is 16.1GB. [2024-11-13 22:46:24,454 INFO L158 Benchmark]: Witness Printer took 69.97ms. Allocated memory is still 780.1MB. Free memory was 497.3MB in the beginning and 497.1MB in the end (delta: 162.0kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:46:24,460 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 2 procedures, 28 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 38.1s, OverallIterations: 13, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 908 SdHoareTripleChecker+Valid, 28.6s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 387 mSDsluCounter, 695 SdHoareTripleChecker+Invalid, 26.9s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 438 mSDsCounter, 572 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 2093 IncrementalHoareTripleChecker+Invalid, 2665 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 572 mSolverCounterUnsat, 257 mSDtfsCounter, 2093 mSolverCounterSat, 0.1s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 1955 GetRequests, 1749 SyntacticMatches, 30 SemanticMatches, 176 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 13157 ImplicationChecksByTransitivity, 14.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 1.7s SatisfiabilityAnalysisTime, 16.6s InterpolantComputationTime, 203 NumberOfCodeBlocks, 203 NumberOfCodeBlocksAsserted, 13 NumberOfCheckSat, 171 ConstructedInterpolants, 0 QuantifiedInterpolants, 1732 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 12 InterpolantComputations, 3 PerfectInterpolantSequences, 27/53 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - CounterExampleResult [Line: 565]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L632] CALL, EXPR create_tree() [L585] struct node *nodelast = ((void *)0); [L586] struct node *node = ((void *)0); VAL [node={0:0}, nodelast={0:0}] [L587] COND TRUE __VERIFIER_nondet_int() [L588] node = malloc(sizeof *node) [L589] COND FALSE !(!node) [L591] node->left = ((void *)0) [L592] node->right = nodelast [L593] COND FALSE !(\read(*nodelast)) [L595] int value = __VERIFIER_nondet_int(); [L596] node->value = value [L597] nodelast = node [L587] COND FALSE !(__VERIFIER_nondet_int()) [L599] COND TRUE node != ((void *)0) [L600] node->parent = ((void *)0) VAL [node={1514:0}, nodelast={1514:0}] [L601] COND TRUE node != ((void *)0) [L602] node->left = malloc(sizeof *node) [L603] COND FALSE !(!node) [L605] EXPR node->left [L605] node->left->left = ((void *)0) [L606] EXPR node->left [L606] node->left->right = ((void *)0) [L607] EXPR node->left [L607] node->left->value = 42 [L608] EXPR node->left [L608] node->left->parent = node [L609] EXPR node->right [L609] node = node->right [L601] COND FALSE !(node != ((void *)0)) [L611] return nodelast; [L632] RET, EXPR create_tree() [L632] struct node *data = create_tree(); [L633] COND FALSE !(!data) [L635] CALL inspect(data) [L575] COND FALSE !(!(node)) VAL [node={1514:0}] [L576] COND TRUE node != ((void *)0) [L577] node->left VAL [node={1514:0}] [L577] COND TRUE node->left [L578] EXPR node->left [L578] EXPR node->left->value VAL [node={1514:0}] [L578] COND FALSE !(!(node->left->value == 42)) [L579] EXPR node->value VAL [node={1514:0}] [L579] COND TRUE !(node->value) [L579] CALL fail() [L565] reach_error() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.42ms. Allocated memory is still 167.8MB. Free memory is still 105.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 513.17ms. Allocated memory is still 142.6MB. Free memory was 117.6MB in the beginning and 99.9MB in the end (delta: 17.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 36.12ms. Allocated memory is still 142.6MB. Free memory was 99.9MB in the beginning and 98.1MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 30.36ms. Allocated memory is still 142.6MB. Free memory was 98.1MB in the beginning and 96.4MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 722.61ms. Allocated memory is still 142.6MB. Free memory was 96.4MB in the beginning and 70.5MB in the end (delta: 25.9MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. * CodeCheck took 38202.33ms. Allocated memory was 142.6MB in the beginning and 780.1MB in the end (delta: 637.5MB). Free memory was 70.5MB in the beginning and 497.3MB in the end (delta: -426.8MB). Peak memory consumption was 205.7MB. Max. memory is 16.1GB. * Witness Printer took 69.97ms. Allocated memory is still 780.1MB. Free memory was 497.3MB in the beginning and 497.1MB in the end (delta: 162.0kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2024-11-13 22:46:24,506 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_777de3a5-f52a-4c1f-afbb-a550cc8124bb/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE